From 065e4cba61e9088bf9c62bc9908d2e313480ca87 Mon Sep 17 00:00:00 2001 From: nacin Date: Mon, 14 Nov 2011 21:08:33 +0000 Subject: [PATCH] Use wp_login_url() where possible in wp-login.php. props ramiy for initial patch. Escape with a tin foil hat. fixes #19199. git-svn-id: http://svn.automattic.com/wordpress/trunk@19281 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-login.php | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/wp-login.php b/wp-login.php index b4a282ca7..a61facc4f 100644 --- a/wp-login.php +++ b/wp-login.php @@ -79,9 +79,9 @@ function login_header($title = 'Log In', $message = '', $wp_error = '') { -

+

-

+

-

+

@@ -400,7 +400,7 @@ case 'retrievepassword' : ?> -
+

@@ -411,9 +411,9 @@ case 'retrievepassword' :

@@ -436,7 +436,7 @@ case 'rp' : $errors = new WP_Error('password_reset_mismatch', __('The passwords do not match.')); } elseif ( isset($_POST['pass1']) && !empty($_POST['pass1']) ) { reset_password($user, $_POST['pass1']); - login_header(__('Password Reset'), '

' . __('Your password has been reset.') . ' ' . __('Log in') . '

'); + login_header( __( 'Password Reset' ), '

' . __( 'Your password has been reset.' ) . ' ' . __( 'Log in' ) . '

' ); login_footer(); exit; } @@ -447,7 +447,7 @@ case 'rp' : login_header(__('Reset Password'), '

' . __('Enter your new password below.') . '

', $errors ); ?> -
+

@@ -467,9 +467,9 @@ case 'rp' :

@@ -506,7 +506,7 @@ case 'register' : login_header(__('Registration Form'), '

' . __('Register For This Site') . '

', $errors); ?> -
+

@@ -523,8 +523,8 @@ case 'register' :

-
+

@@ -652,10 +652,10 @@ default: