[wp-trac] [WordPress Trac] #28821: Admin page registered with add_menu_page() allows access through wrong URls and hightlights wrong top level menu item

WordPress Trac noreply at wordpress.org
Fri Nov 6 02:23:24 UTC 2015


#28821: Admin page registered with add_menu_page() allows access through wrong URls
and hightlights wrong top level menu item
----------------------------+------------------------------
 Reporter:  F J Kaiser      |       Owner:
     Type:  defect (bug)    |      Status:  new
 Priority:  normal          |   Milestone:  Awaiting Review
Component:  Administration  |     Version:  3.9.1
 Severity:  normal          |  Resolution:
 Keywords:  dev-feedback    |     Focuses:  administration
----------------------------+------------------------------

Comment (by F J Kaiser):

 Replying to [comment:4 chriscct7]:
 > […] The page query arg is used to override the the page being output in
 certain places in core, as a design […]

 The bug regarding highlighting still is a ''bug''.

 > '''Bug description:''' Every of the above links will (falsely) work and
 bring you to the registered page. The top level menu item will be
 hightlighted while the sub menu item does not exist.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/28821#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list