[wp-trac] [WordPress Trac] #21454: Admin menu top label linked to sub pages screen id?
WordPress Trac
noreply at wordpress.org
Fri Dec 21 07:04:51 UTC 2012
#21454: Admin menu top label linked to sub pages screen id?
----------------------------+------------------------------
Reporter: CoenJacobs | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Administration | Version:
Severity: normal | Resolution:
Keywords: has-patch |
----------------------------+------------------------------
Changes (by mikejolley):
* cc: mikejolley (added)
* keywords: needs-patch => has-patch
Comment:
Attached fix-constant-screen-ids.21454.diff which uses the menu_slug for
the screen ID instead of a sanitized page title. $admin_page_hooks's key
basically, instead of its value (which might not actually be used anywhere
but I've left it in).
This fixes the case Coen posted making the subpage screen id change from
"toplevel-nav_page_sublevel_slug" "toplevel_slug_page_sublevel_slug". This
screen id will be constant and solve our problems :)
--
Ticket URL: <http://core.trac.wordpress.org/ticket/21454#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list