[wp-trac] [WordPress Trac] #16946: Bug between CPT menu_position and add_object_page()

WordPress Trac wp-trac at lists.automattic.com
Thu Mar 31 14:34:24 UTC 2011


#16946: Bug between CPT menu_position and add_object_page()
----------------------------+------------------------
 Reporter:  momo360modena   |       Owner:  scribu
     Type:  defect (bug)    |      Status:  reviewing
 Priority:  normal          |   Milestone:  3.2
Component:  Administration  |     Version:  3.1
 Severity:  normal          |  Resolution:
 Keywords:  has-patch       |
----------------------------+------------------------

Comment (by scribu):

 I'm not sure using get_unique_menu_key() in add_menu_page() is a good
 idea.

 Some plugins intentionally overwrite core menus, for various reasons.
 Disallowing that from add_menu_page() will just force them to manipulate
 {{{$menu}}} directly.

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


More information about the wp-trac mailing list