Wordpress 3.1.1
[autoinstalls/wordpress.git] / wp-admin / user / admin.php
index 4b8423f40447a7223206b0a80bf285f97a432875..42850f4b25e18820c54ee936f7c1d6e2df7baffe 100644 (file)
@@ -16,7 +16,7 @@ if ( ! is_multisite() ) {
        exit;
 }
 
-if ( ! is_main_site() ) {
+if ( ( $current_blog->domain != $current_site->domain ) || ( $current_blog->path != $current_site->path ) ) {
        wp_redirect( user_admin_url() );
        exit;
 }