[wp-trac] [WordPress Trac] #12718: Better structure for admin menu
WordPress Trac
noreply at wordpress.org
Thu Apr 28 03:15:23 UTC 2016
#12718: Better structure for admin menu
------------------------------------+-----------------------------
Reporter: scribu | Owner:
Type: enhancement | Status: reopened
Priority: normal | Milestone: Future Release
Component: Plugins | Version:
Severity: normal | Resolution:
Keywords: has-patch dev-feedback | Focuses: administration
------------------------------------+-----------------------------
Comment (by sc0ttkclark):
What if we converted the basic array into a true object and a new hook
that ran after the main admin_menu hook, so we could begin to issue doing
it wrong notices if the admin_menu has actions set on it.
The new object could do whatever it needed and still be compatible for a
good deal of hacks too.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/12718#comment:92>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list