[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
Sat Oct 31 15:19:44 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 chriscct7):

 I don't think it's a bug actually. The page query arg is used to override
 the the page being output in certain places in core, as a design. For
 example, prior to the customizer being included, the setting for custom
 header was on wp-admin/themes.php?page=custom-header where the page
 parameter is used to override themes.php from loading and load custom-
 header.php instead

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


More information about the wp-trac mailing list