[wp-trac] [WordPress Trac] #37699: Death to Globals Episode #1: A Registry, A Pattern
WordPress Trac
noreply at wordpress.org
Wed Aug 31 14:30:57 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 nacin):
Replying to [comment:37 wonderboymusic]:
> In [changeset:"38388"]:
> {{{
> #!CommitTicketReference repository="" revision="38388"
> Multisite: move `get_current_site()` to `load.php` so that it can be
used in more places, instead of importing `global $current_site`.
>
> See #37699.
> }}}
This made a multisite-only function accessible in single-site. I don't
think that should have been intended, if it was. cc @wonderboymusic,
@jeremyfelt.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/37699#comment:54>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list