[wp-trac] [WordPress Trac] #34217: Explicitly globalize $blog_id, $public, and $site_id in ms-settings.php
WordPress Trac
noreply at wordpress.org
Thu Oct 8 21:44:14 UTC 2015
#34217: Explicitly globalize $blog_id, $public, and $site_id in ms-settings.php
-----------------------------+-------------------------
Reporter: danielbachhuber | Owner: jeremyfelt
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 4.4
Component: Bootstrap/Load | Version: 3.0
Severity: normal | Resolution: fixed
Keywords: has-patch | Focuses: multisite
-----------------------------+-------------------------
Changes (by jeremyfelt):
* owner: => jeremyfelt
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"34961"]:
{{{
#!CommitTicketReference repository="" revision="34961"
Make `$blog_id` explicitly global.
`$blog_id` is used in both single and multisite configurations as a global
variable, though has never been explicitly marked as such in the global
scope. This can cause confusion depending on how core is loaded.
Fixes #34217.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/34217#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list