From 0b1ce740ed593fff7075e60a619ec63101b4f71e Mon Sep 17 00:00:00 2001 From: azaozz Date: Wed, 3 Jun 2009 22:15:22 +0000 Subject: [PATCH] Give login screen proper iPhone viewport, props noel, fixes #10023 git-svn-id: http://svn.automattic.com/wordpress/trunk@11514 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-login.php | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/wp-login.php b/wp-login.php index 9e836f6809..62898123f2 100644 --- a/wp-login.php +++ b/wp-login.php @@ -39,7 +39,7 @@ if ( force_ssl_admin() && !is_ssl() ) { * @param WP_Error $wp_error Optional. WordPress Error Object */ function login_header($title = 'Log In', $message = '', $wp_error = '') { - global $error; + global $error, $is_iphone; // Don't index any of these forms add_filter( 'pre_option_blog_public', create_function( '$a', 'return 0;' ) ); @@ -56,6 +56,17 @@ function login_header($title = 'Log In', $message = '', $wp_error = '') { + + + @@ -539,4 +550,4 @@ try{document.getElementById('user_login').focus();}catch(e){} break; } // end action switch -?> \ No newline at end of file +?>