X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/b137f4ce021b4022c56f452c2eafa7abfcef0a7c..refs/tags/wordpress-3.2:/wp-login.php diff --git a/wp-login.php b/wp-login.php index 0f471b0d..ffa00ab0 100644 --- a/wp-login.php +++ b/wp-login.php @@ -59,8 +59,8 @@ function login_header($title = 'Log In', $message = '', $wp_error = '') { > - <?php bloginfo('name'); ?> › <?php echo $title; ?> + <?php bloginfo('name'); ?> › <?php echo $title; ?> add('error', $error); unset($error); @@ -123,18 +123,17 @@ function login_header($title = 'Log In', $message = '', $wp_error = '') { * @param string $input_id Which input to auto-focus */ function login_footer($input_id = '') { - echo "\n"; + ?> +

+ - if ( !empty($input_id) ) { -?> + - -

+ + @@ -587,7 +586,7 @@ default: if ( ( empty( $redirect_to ) || $redirect_to == 'wp-admin/' || $redirect_to == admin_url() ) ) { // If the user doesn't belong to a blog, send them to user admin. If the user can't edit posts, send them to their profile. - if ( is_multisite() && !get_active_blog_for_user($user->id) ) + if ( is_multisite() && !get_active_blog_for_user($user->id) && !is_super_admin( $user->id ) ) $redirect_to = user_admin_url(); elseif ( is_multisite() && !$user->has_cap('read') ) $redirect_to = get_dashboard_url( $user->id ); @@ -664,10 +663,6 @@ default:

- -

- - - - - -