Suggest get_current_site() as an alternative for get_current_site_name().
props jesin. fixes #28346. Built from https://develop.svn.wordpress.org/trunk@28573 git-svn-id: http://core.svn.wordpress.org/trunk@28398 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
4782165279
commit
de9a9fd8ea
|
@ -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