[wp-trac] [WordPress Trac] #10885: Custom post types show up in search

WordPress Trac wp-trac at lists.automattic.com
Fri Oct 2 02:09:04 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 ryan):

 I considered simply adding an array of post types to exclude that can be
 filtered, but since other situations have come up where having a list of
 registered post types was needed I decide to go ahead and register them
 like we do with taxonomies.

Ticket URL: <http://core.trac.wordpress.org/ticket/10885#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software

More information about the wp-trac mailing list