[wp-trac] [WordPress Trac] #10885: Custom post types show up in search
WordPress Trac
wp-trac at lists.automattic.com
Thu Oct 1 22:44:06 UTC 2009
#10885: Custom post types show up in search
--------------------------+-------------------------------------------------
Reporter: ryan | Owner: ryan
Type: defect (bug) | Status: new
Priority: normal | Milestone: 2.9
Component: Query | Version: 2.8.4
Severity: normal | Keywords:
--------------------------+-------------------------------------------------
Comment(by dd32):
> Thinking we add register_post_type() and exclude all custom post types
from search by default with ability to opt-in.
That sounds the best to me, Just have the initial list array('post',
'page', 'attachment') and let us filter it.. or.. Just let us filter the
list which should be excluded..
--
Ticket URL: <http://core.trac.wordpress.org/ticket/10885#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list