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

WordPress Trac wp-trac at lists.automattic.com
Sat Oct 3 01:09:56 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):

 > Patch adds get_post_types().
 Looks good to me :)

 > Should it return a list of post type names or objects?
 Originally i thought Objects, But, The function name really suggests it
 merely returns an array of matching post_types.. But thats just my 2c.

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


More information about the wp-trac mailing list