From be365e349feea06de4c9412907e011c681fb3879 Mon Sep 17 00:00:00 2001 From: dd32 Date: Sun, 23 May 2010 00:26:13 +0000 Subject: [PATCH] Correct the no-shake iphone check. See #13495 git-svn-id: http://svn.automattic.com/wordpress/trunk@14809 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-login.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/wp-login.php b/wp-login.php index 5ed01661c1..00156cdb84 100644 --- a/wp-login.php +++ b/wp-login.php @@ -116,7 +116,9 @@ function login_header($title = 'Log In', $message = '', $wp_error = '') { } } // End of login_header() function wp_shake_js() { - if ( !$is_iphone ) : + global $is_iphone; + if ( $is_iphone ) + return; ?>