[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 23:12:58 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: has-patch |
--------------------------+------------------------------
Changes (by SergeyBiryukov):
* keywords: => has-patch
Comment:
Non-publicly queryable post types are only excluded from post type
queries, that doesn't prevent them to appear in a regular search results
(without `post_type` constraints).
Perhaps they shouldn't be excluded when searching, though. Here's a patch
for that.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/18513#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list