[wp-trac] [WordPress Trac] #23685: Explicitly globalize version variables

WordPress Trac noreply at wordpress.org
Mon Mar 4 16:03:30 UTC 2013


#23685: Explicitly globalize version variables
--------------------------+------------------------------
 Reporter:  nbachiyski    |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Unit Tests    |     Version:  trunk
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |
--------------------------+------------------------------

Comment (by nacin):

 We sometimes include version.php in local scope inside a function on
 purpose, so we can get untainted variables (say, for an update check).

 So, we would actually want to globalize these variables where this file is
 included (specifically wp-settings.php).

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/23685#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list