pagename queries don't have an explicit post_type, so they aren't excluded from the general-access query by our current logic. However, pagename queries without an explicit post_type can never return a bp_doc, so there's no need to do the query here.
pagename
queries don't have an explicitpost_type
, so they aren't excluded from the general-access query by our current logic. However,pagename
queries without an explicitpost_type
can never return abp_doc
, so there's no need to do the query here.Related: #618