[wp-trac] [WordPress Trac] #12951: Admin Menu Items overwritten with custom post types

WordPress Trac wp-trac at lists.automattic.com
Sat Apr 10 02:11:06 UTC 2010


#12951: Admin Menu Items overwritten with custom post types
----------------------------+-----------------------------------------------
 Reporter:  blepoxp         |       Owner:     
     Type:  defect (bug)    |      Status:  new
 Priority:  normal          |   Milestone:  3.0
Component:  Administration  |     Version:  3.0
 Severity:  normal          |    Keywords:     
----------------------------+-----------------------------------------------
 When the arg for menu_position in register_post_type == an existing menu
 position before that point in the code, it overwrites it. In the case
 where it is the same as core menu positions further along in the code, it
 gets overwritten.
 [[BR]]
 [[BR]]
 I discussed solutions in dev chat with jane and dion. The solution in my
 patch is 5 lines and resolves both instances of the problem mentioned
 above.

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


More information about the wp-trac mailing list