[wp-trac] [WordPress Trac] #14755: more than 5 custom post types screws up menu_position parameter

WordPress Trac wp-trac at lists.automattic.com
Wed Sep 1 17:13:43 UTC 2010


#14755: more than 5 custom post types screws up menu_position parameter
--------------------------+-------------------------------------------------
 Reporter:  stunnaboi     |       Owner:                                  
     Type:  defect (bug)  |      Status:  new                             
 Priority:  normal        |   Milestone:  Awaiting Review                 
Component:  General       |     Version:  3.0.1                           
 Severity:  minor         |    Keywords:  menu_position, custom post types
--------------------------+-------------------------------------------------
 On a personal 3.01 install I have 7 custom post types registered and
 notice that the 5th and 7th fall below the Comments menu item.  It was
 pointed out to me on the wp-testers email list that the menu is probably
 constructed as an indexed array.  Pages is #20, Comments is #25, so these
 extra post types get assigned the 2 free indices after 25: 26 & 27, which
 puts them below Comments.  Not a huge deal, but restricts neat
 organization in the admin on highly customized sites.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/14755>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list