diff --git a/wp-admin/my-sites.php b/wp-admin/my-sites.php index 6af111d49..6f4396b72 100644 --- a/wp-admin/my-sites.php +++ b/wp-admin/my-sites.php @@ -19,9 +19,6 @@ $action = isset( $_POST['action'] ) ? $_POST['action'] : 'splash'; $blogs = get_blogs_of_user( $current_user->ID ); -if ( empty( $blogs ) ) - wp_die( __( 'You must be a member of at least one site to use this page.' ) ); - $updated = false; if ( 'updateblogsettings' == $action && isset( $_POST['primary_blog'] ) ) { check_admin_referer( 'update-my-sites' ); @@ -58,6 +55,13 @@ if ( $updated ) { ?>

+'; + _e( 'You must be a member of at least one site to use this page.' ); + echo '

'; +else : +?>
+