[wp-trac] [WordPress Trac] #26867: Explicitly globalize some missing query globals in wp-settings.php

WordPress Trac noreply at wordpress.org
Wed Jan 22 08:24:51 UTC 2014


#26867: Explicitly globalize some missing query globals in wp-settings.php
--------------------------+-------------------------
 Reporter:  nbachiyski    |       Owner:  nbachiyski
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  3.9
Component:  Unit Tests    |     Version:
 Severity:  normal        |  Resolution:  fixed
 Keywords:  has-patch     |
--------------------------+-------------------------
Changes (by nbachiyski):

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


Comment:

 In [changeset:"26996"]:
 {{{
 #!CommitTicketReference repository="" revision="26996"
 Explicitly globalize some missing query globals in wp-settings.php

 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.

 Fixes #26867
 }}}

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


More information about the wp-trac mailing list