[wp-trac] [WordPress Trac] #18513: Searching with explicit post types unsets page post type
WordPress Trac
wp-trac at lists.automattic.com
Wed Aug 24 22:37:40 UTC 2011
#18513: Searching with explicit post types unsets page post type
--------------------------+------------------------------
Reporter: GaryJ | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Query | Version: 3.2.1
Severity: normal | Resolution:
Keywords: |
--------------------------+------------------------------
Comment (by SergeyBiryukov):
Replying to [ticket:18513 GaryJ]:
> The fact that key 1 is missing makes me think that page was in the array
at some point, but it's been unset, but I can't see where, or why, this
might be done.
http://core.trac.wordpress.org/browser/tags/3.2.1/wp-includes/class-
wp.php#L280
Pages are not publicly queryable (see [18234], #17040), so they are
excluded.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/18513#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list