mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-12 12:50:28 +00:00
Docs: Use 3-digit, x.x.x-style semantic versioning for _doing_it_wrong(), _deprecated_function(), _deprecated_argument(), and _deprecated_file() throughout core.
Props metodiew. Fixes #36495. git-svn-id: https://develop.svn.wordpress.org/trunk@37985 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -518,7 +518,7 @@ function ms_not_installed( $domain, $path ) {
|
||||
* @return object
|
||||
*/
|
||||
function get_current_site_name( $current_site ) {
|
||||
_deprecated_function( __FUNCTION__, '3.9', 'get_current_site()' );
|
||||
_deprecated_function( __FUNCTION__, '3.9.0', 'get_current_site()' );
|
||||
return $current_site;
|
||||
}
|
||||
|
||||
@@ -538,6 +538,6 @@ function get_current_site_name( $current_site ) {
|
||||
*/
|
||||
function wpmu_current_site() {
|
||||
global $current_site;
|
||||
_deprecated_function( __FUNCTION__, '3.9' );
|
||||
_deprecated_function( __FUNCTION__, '3.9.0' );
|
||||
return $current_site;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user