[wp-trac] [WordPress Trac] #37526: Introduce the possibility to register new administration panels

WordPress Trac noreply at wordpress.org
Tue Nov 15 00:13:34 UTC 2016


#37526: Introduce the possibility to register new administration panels
-------------------------------------------------+-------------------------
 Reporter:  flixos90                             |       Owner:
     Type:  enhancement                          |      Status:  new
 Priority:  normal                               |   Milestone:  Awaiting
Component:  Administration                       |  Review
 Severity:  normal                               |     Version:
 Keywords:  2nd-opinion has-patch needs-unit-    |  Resolution:
  tests                                          |     Focuses:  multisite
-------------------------------------------------+-------------------------

Comment (by flixos90):

 I just noticed kind of a blocker for this one. :(

 The `$pagenow` global is set in `wp-includes/vars.php`, so the code in
 there would need to be adjusted to support custom administration panels as
 well. At first I thought the action `admin_setup` could be moved in there,
 but the file is loaded before all regular plugins.

 Maybe we can find a way to adjust the way this file is handled, also
 considering that it is rather messy. Outsourcing parts of it into real
 functions would be a good first step.

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


More information about the wp-trac mailing list