diff --git a/wp-login.php b/wp-login.php
index 3cda41c3ff..6513f777ce 100644
--- a/wp-login.php
+++ b/wp-login.php
@@ -44,6 +44,9 @@ function login_header($title = 'Log In', $message = '', $wp_error = '') {
// Don't index any of these forms
add_action( 'login_head', 'wp_no_robots' );
+ if ( wp_is_mobile() )
+ add_action( 'login_head', 'wp_login_viewport_meta' );
+
if ( empty($wp_error) )
$wp_error = new WP_Error();
@@ -64,10 +67,6 @@ function login_header($title = 'Log In', $message = '', $wp_error = '') {
wp_admin_css( 'wp-admin', true );
wp_admin_css( 'colors-fresh', true );
- if ( wp_is_mobile() ) { ?>
-
+
+