Formally deprecate wpmu_current_site().

props jeremyfelt.
fixes #27702.


git-svn-id: https://develop.svn.wordpress.org/trunk@28009 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Nacin 2014-04-07 21:27:13 +00:00
parent 5404d9933f
commit 55d6cc4e1d

View File

@ -276,12 +276,6 @@ function wp_get_network( $network ) {
return $network;
}
/**
* @todo deprecate
*/
function wpmu_current_site() {
}
/**
* Retrieve a site object by its domain and path.
*
@ -424,3 +418,21 @@ function get_current_site_name( $current_site ) {
_deprecated_function( __FUNCTION__, '3.9' );
return $current_site;
}
/**
* This deprecated function managed much of the site and network loading in multisite.
*
* The current bootstrap code is now responsible for parsing the site and network load as
* well as setting the global $current_site object.
*
* @access private
* @since 3.0.0
* @deprecated 3.9.0
*
* @return object
*/
function wpmu_current_site() {
global $current_site;
_deprecated_function( __FUNCTION__, '3.9' );
return $current_site;
}