From d4eb85569bba791d00029313808428822840b353 Mon Sep 17 00:00:00 2001 From: John Blackbourn Date: Mon, 21 Dec 2015 03:23:29 +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. Props KrissieV, salcode, JPry Fixes #34925 See #35103 Built from https://develop.svn.wordpress.org/trunk@36042 git-svn-id: http://core.svn.wordpress.org/trunk@36007 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/general-template.php | 2 +- wp-includes/version.php | 2 +- wp-login.php | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/wp-includes/general-template.php b/wp-includes/general-template.php index c7498ab819..88b1a30881 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); ?> - +

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