mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-10-06 07:36:58 +00:00
Deprecate is_main_blog() for is_main_site(). see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12858 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -117,4 +117,12 @@ function clear_global_post_cache( $post_id ) {
|
||||
_deprecated_function( __FUNCTION__, '3.0', 'clean_post_cache' );
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated 3.0
|
||||
*/
|
||||
function is_main_blog() {
|
||||
_deprecated_function( __FUNCTION__, '3.0', 'is_main_site' );
|
||||
return is_main_site();
|
||||
}
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user