[wp-trac] [WordPress Trac] #13183: unused post_types show in search and cannot be deleted

WordPress Trac wp-trac at lists.automattic.com
Mon May 3 22:01:11 UTC 2010


#13183: unused post_types show in search and cannot be deleted
--------------------------+-------------------------------------------------
 Reporter:  thomask       |       Owner:     
     Type:  defect (bug)  |      Status:  new
 Priority:  high          |   Milestone:  3.0
Component:  Post Types    |     Version:  3.0
 Severity:  blocker       |    Keywords:     
--------------------------+-------------------------------------------------

Comment(by nacin):

 The issue, we're discussing, is that for both post types and stati, we
 loop through post types that are registered with exclude_from_search =
 true, and remove them from search.

 Instead, it should start from nothing and add only registered post types
 where exclude_from_search = false.

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


More information about the wp-trac mailing list