Use get_current_site() instead of the $current_site global when possible.
props jeremyfelt. fixes #25158. Built from https://develop.svn.wordpress.org/trunk@26120 git-svn-id: http://core.svn.wordpress.org/trunk@26032 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -45,7 +45,7 @@ function ms_upload_constants() {
|
||||
* @since 3.0.0
|
||||
*/
|
||||
function ms_cookie_constants( ) {
|
||||
global $current_site;
|
||||
$current_site = get_current_site();
|
||||
|
||||
/**
|
||||
* @since 1.2.0
|
||||
|
||||
Reference in New Issue
Block a user