Make WordPress Core

Opened 16 months ago

Last modified 11 months ago

#23108 new enhancement

Deprecate add_object_page() and add_utility_page()

Reported by: SergeyBiryukov Owned by:
Milestone: Future Release Priority: normal
Severity: normal Version:
Component: Administration Keywords: has-patch
Focuses: Cc:


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)

23108.patch (5.7 KB) - added by SergeyBiryukov 16 months ago.
23108.2.patch (5.8 KB) - added by ocean90 16 months ago.

Download all attachments as: .zip

Change History (10)

SergeyBiryukov16 months ago

comment:2 SergeyBiryukov16 months ago

  • Keywords has-patch added

comment:4 SergeyBiryukov16 months ago

  • Milestone changed from Awaiting Review to 3.6

comment:5 chriscct716 months ago

  • Cc chriscct7@… added


comment:6 mordauk16 months ago

  • Cc pippin@… added

ocean9016 months ago

comment:7 ocean9016 months ago

23108.2.patch adds the _deprecated_function() calls.

comment:8 ryan11 months ago

  • Milestone changed from 3.6 to Future Release
Note: See TracTickets for help on using tickets.