[wp-trac] [WordPress Trac] #18950: get_post_types() does not return post-types registered with verbose alternatives of the $public argument

WordPress Trac wp-trac at lists.automattic.com
Wed Jul 18 04:21:39 UTC 2012


#18950: get_post_types() does not return post-types registered with verbose
alternatives of the $public argument
-------------------------------+------------------------------
 Reporter:  fireproofsocks     |       Owner:
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Post Types         |     Version:  3.2.1
 Severity:  major              |  Resolution:
 Keywords:  close 2nd-opinion  |
-------------------------------+------------------------------

Comment (by fireproofsocks):

 Thanks, Jeremy, that's the kind of thoughtful attention this issue and its
 referenced functions need.  Yes, I would agree 100%  that either one or
 the other attribute has to go.  We only need one: public or
 publicly_queryable, not both -- removing one would fix this issue
 entirely.  I would also love to change the inverted nature of the
 "exclude_from_search" option while I'm at it.

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


More information about the wp-trac mailing list