mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-12-06 20:58:55 +00:00
Add is_subdomain_install() to ms code - Fixes #11796
git-svn-id: https://develop.svn.wordpress.org/trunk@12674 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -732,7 +732,7 @@ function site_admin_notice() {
|
||||
add_action( 'admin_notices', 'site_admin_notice' );
|
||||
|
||||
function avoid_blog_page_permalink_collision( $data, $postarr ) {
|
||||
if( constant( 'VHOST' ) == 'yes' )
|
||||
if( is_subdomain_install() )
|
||||
return $data;
|
||||
if( $data[ 'post_type' ] != 'page' )
|
||||
return $data;
|
||||
|
||||
Reference in New Issue
Block a user