[wp-trac] [WordPress Trac] #12541: Core post types should respect the show_ui parameter in register_post_type()

WordPress Trac wp-trac at lists.automattic.com
Mon Mar 15 07:00:03 UTC 2010


#12541: Core post types should respect the show_ui parameter in
register_post_type()
--------------------------+-------------------------------------------------
 Reporter:  ptahdunbar    |       Owner:             
     Type:  defect (bug)  |      Status:  new        
 Priority:  normal        |   Milestone:  3.0        
Component:  Post Types    |     Version:  3.0        
 Severity:  normal        |    Keywords:  needs-patch
--------------------------+-------------------------------------------------

Comment(by ptahdunbar):

 ''register_post_type_submenu_arg.diff'' Adds an additional 'submenu' param
 to register_post_type().

 This is a first pass for allowing post types to have a custom submenu
 items with the default Media post type being a prime example.

 This patch works but somehow breaks the highlighting of submenu items
 under the 'post' post type.

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


More information about the wp-trac mailing list