Suggest get_current_site() as an alternative for get_current_site_name().
props jesin. fixes #28346. git-svn-id: https://develop.svn.wordpress.org/trunk@28573 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
191705a964
commit
95e42909a9
|
@ -426,13 +426,13 @@ function ms_not_installed() {
|
|||
*
|
||||
* @access private
|
||||
* @since 3.0.0
|
||||
* @deprecated 3.9.0
|
||||
* @deprecated 3.9.0 Use get_current_site() instead.
|
||||
*
|
||||
* @param object $current_site
|
||||
* @return object
|
||||
*/
|
||||
function get_current_site_name( $current_site ) {
|
||||
_deprecated_function( __FUNCTION__, '3.9' );
|
||||
_deprecated_function( __FUNCTION__, '3.9', 'get_current_site()' );
|
||||
return $current_site;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue