mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-12-06 20:58:55 +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:
@@ -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' ];
|
||||
|
||||
Reference in New Issue
Block a user