[wp-trac] [WordPress Trac] #60006: Remove the Unused global variables in the wp-admin

WordPress Trac noreply at wordpress.org
Mon Dec 4 19:56:17 UTC 2023


#60006: Remove the Unused global variables in the wp-admin
----------------------------+----------------------
 Reporter:  viralsampat     |       Owner:  (none)
     Type:  defect (bug)    |      Status:  closed
 Priority:  normal          |   Milestone:
Component:  Administration  |     Version:
 Severity:  normal          |  Resolution:  invalid
 Keywords:  close           |     Focuses:
----------------------------+----------------------
Changes (by hellofromTonya):

 * status:  new => closed
 * resolution:   => invalid
 * milestone:  Awaiting Review =>


Comment:

 Hello @viralsampat,

 Welcome to WordPress Core's Trac :)

 Thank you for the patch. As @SergeyBiryukov noted, these globals are used
 in within their function scope and thus need to remain.

 I'll close this ticket. However, if there are others to remove, please
 reopen.

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


More information about the wp-trac mailing list