[wp-trac] [WordPress Trac] #47901: Admin menu variable is not always considered as global

WordPress Trac noreply at wordpress.org
Tue Aug 20 11:06:36 UTC 2019


#47901: Admin menu variable is not always considered as global
---------------------------+-----------------------------------------------
 Reporter:                 |       Owner:  (none)
  philippevienne           |
     Type:  defect (bug)   |      Status:  new
 Priority:  normal         |   Milestone:  Awaiting Review
Component:                 |     Version:
  Administration           |
 Severity:  normal         |  Resolution:
 Keywords:  2nd-opinion    |     Focuses:  administration, coding-standards
---------------------------+-----------------------------------------------
Changes (by mukesh27):

 * keywords:   => 2nd-opinion
 * focuses:  ui, administration, coding-standards => administration, coding-
     standards
 * version:  5.2.2 =>


Comment:

 Hi @philippevienne,

 Welcome to WordPress Trac! Thanks for the ticket.

 If we consider the {{{$menu}}} for global variable then the same way we
 have to consider {{{$submenu}}} for global also.

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


More information about the wp-trac mailing list