Opened 5 months ago
Last modified 8 days ago
#23108 new enhancement
Deprecate add_object_page() and add_utility_page()
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | Future Release |
| Component: | Administration | Version: | |
| Severity: | normal | Keywords: | has-patch |
| Cc: | chriscct7@…, pippin@… |
Description
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.
Attachments (2)
Change History (10)
comment:1
SergeyBiryukov — 5 months ago
SergeyBiryukov — 5 months ago
comment:2
SergeyBiryukov — 5 months ago
- Keywords has-patch added
comment:4
SergeyBiryukov — 5 months ago
- Milestone changed from Awaiting Review to 3.6
23108.2.patch adds the _deprecated_function() calls.
Note: See
TracTickets for help on using
tickets.

Related: [9537], [9949], [11856].