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:
Ryan Boren
2010-01-26 22:46:09 +00:00
parent b6feb64ea4
commit 909191a37d
4 changed files with 12 additions and 11 deletions
+8
View File
@@ -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();
}
?>