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

WordPress Trac noreply at wordpress.org
Tue Nov 5 00:23:39 UTC 2013


#23685: Explicitly globalize version variables
----------------------------------------+-----------------------------
 Reporter:  nbachiyski                  |       Owner:  wonderboymusic
     Type:  defect (bug)                |      Status:  closed
 Priority:  normal                      |   Milestone:  3.8
Component:  Unit Tests                  |     Version:  3.6
 Severity:  normal                      |  Resolution:  fixed
 Keywords:  has-patch 3.7-early commit  |
----------------------------------------+-----------------------------
Changes (by wonderboymusic):

 * owner:   => wonderboymusic
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"26008"]:
 {{{
 #!CommitTicketReference repository="" revision="26008"
 When WordPress is loaded in a function (e.g. unit tests) the variables
 initialized at the top level aren't globals, but we expect them to be.
 Explicitly make the version variables global.

 Props nbachiyski.
 Fixes #23685.
 }}}

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


More information about the wp-trac mailing list