[wp-trac] [WordPress Trac] #37699: Death to Globals Episode #1: A Registry, A Pattern

WordPress Trac noreply at wordpress.org
Sun Oct 9 11:28:20 UTC 2016


#37699: Death to Globals Episode #1: A Registry, A Pattern
----------------------------+------------------
 Reporter:  wonderboymusic  |       Owner:
     Type:  enhancement     |      Status:  new
 Priority:  normal          |   Milestone:  4.7
Component:  General         |     Version:
 Severity:  normal          |  Resolution:
 Keywords:                  |     Focuses:
----------------------------+------------------

Comment (by ramiy):

 Replying to [comment:93 MikeSchinkel]:
 > Replying to [comment:92 ramiy]:
 > > Few more globals that can be replaced with functions:
 >
 > Those that return arrays allow access but not modification of the
 arrays.

 Yes, I know. Using those functions we can't remove all the globals, but we
 can replace the vast majority.

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


More information about the wp-trac mailing list