[wp-trac] [WordPress Trac] #23108: Deprecate add_object_page() and add_utility_page()

WordPress Trac noreply at wordpress.org
Thu Jan 3 02:47:52 UTC 2013


#23108: Deprecate add_object_page() and add_utility_page()
-----------------------------+----------------------------
 Reporter:  SergeyBiryukov   |       Type:  enhancement
   Status:  new              |   Priority:  normal
Milestone:  Awaiting Review  |  Component:  Administration
  Version:                   |   Severity:  normal
 Keywords:                   |
-----------------------------+----------------------------
 `add_object_page()` and `add_utility_page()` are not used in core and are
 just wrappers which pass `$_wp_last_object_menu++` and
 `$_wp_last_utility_menu++`, respectively, to `add_menu_page()`.

 This can lead to a conflict with other menu items added by plugins, see
 #23095.

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


More information about the wp-trac mailing list