[wp-trac] [WordPress Trac] #27264: Stop use of $domain and $path globals in ms_not_installed()
WordPress Trac
noreply at wordpress.org
Mon Mar 3 19:56:19 UTC 2014
#27264: Stop use of $domain and $path globals in ms_not_installed()
----------------------------+----------------------------
Reporter: jeremyfelt | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Future Release
Component: Bootstrap/Load | Version:
Severity: normal | Keywords: has-patch
Focuses: multisite |
----------------------------+----------------------------
We only use `ms_not_installed()` during the `ms-settings.php` bootstrap
process and both `$domain` and `$path` are available to us at that time.
We can pass these directly to the function rather than relying on the
globals once inside the function.
Related: [https://core.trac.wordpress.org/ticket/25316#comment:3
#25316:comment3 ]
--
Ticket URL: <https://core.trac.wordpress.org/ticket/27264>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list