[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
Fri Apr 9 16:43:50 UTC 2010


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

Comment(by matthewhollett):

 Upon further testing, I have noticed some problems with the new
 'menu_position' parameter in register_post_type(). Setting the
 'menu_position' parameter when registering new post types results in new
 menu items replacing core menu items.

 For example, registering a new post type with "'menu_position' => 5" will
 entirely replace "Posts" in the menu.

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


More information about the wp-trac mailing list