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
+1 -1
View File
@@ -725,7 +725,7 @@ function avoid_blog_page_permalink_collision( $data, $postarr ) {
return $data;
if ( !isset( $data[ 'post_name' ] ) || $data[ 'post_name' ] == '' )
return $data;
if ( !is_main_blog() )
if ( !is_main_site() )
return $data;
$post_name = $data[ 'post_name' ];