From ce18aadc7bc15db6ffd878c7d15344827a6d568c Mon Sep 17 00:00:00 2001 From: John Blackbourn Date: Mon, 21 Dec 2015 03:30:27 +0000 Subject: [PATCH] Login: Revert [34213] and [35897]. It has become apparent that there is a need for a separate function (and corresponding filter) which allows for the login form action URL to differ from the URL used to access the login form, so that plugins or implementations which change the login URL do not need to worry about handling the form submission at the same URL. For now, we'll revert to the pre-4.4 behaviour of hard-coding the login form action URL as `wp-login.php` and look at implementing a separate function and corresponding filter in 4.5. Merges [36042] to the 4.4 branch. Props KrissieV, salcode, JPry Fixes #34925 Fixes #35103 Built from https://develop.svn.wordpress.org/branches/4.4@36043 git-svn-id: http://core.svn.wordpress.org/branches/4.4@36008 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/general-template.php | 2 +- wp-includes/version.php | 2 +- wp-login.php | 5 ++--- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/wp-includes/general-template.php b/wp-includes/general-template.php index f554e1fdc5..f7a7b11ef5 100644 --- a/wp-includes/general-template.php +++ b/wp-includes/general-template.php @@ -471,7 +471,7 @@ function wp_login_form( $args = array() ) { $login_form_bottom = apply_filters( 'login_form_bottom', '', $args ); $form = ' -
+ ' . $login_form_top . '

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

', $errors); ?> - - +

@@ -878,7 +877,7 @@ default: } ?> - +