[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
Fri Oct 14 17:03:17 UTC 2011


#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:                  |
----------------------------+------------------------------

Comment (by fireproofsocks):

 Whoops: typo in the $args ('=' not '=>') sorry.
 {{{
  $args = array(
    'publicly_queriable' => true,
    'show_ui' => true,
    'show_in_nav_menus'  => true,
    'exclude_from_search => false
  );
 }}}

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


More information about the wp-trac mailing list