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:
Ron Rennick
2010-01-08 21:25:01 +00:00
parent 71bef9fe26
commit 436316a4a8
8 changed files with 112 additions and 97 deletions
+1 -1
View File
@@ -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;