Clean up duplicate hook notations and adjacency for calls to the wp_signup_location filter.
Also adds braces missed in [25535]. See #26869. Built from https://develop.svn.wordpress.org/trunk@28215 git-svn-id: http://core.svn.wordpress.org/trunk@28045 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -643,7 +643,6 @@ break;
|
||||
|
||||
case 'register' :
|
||||
if ( is_multisite() ) {
|
||||
$sign_up_url = network_site_url( 'wp-signup.php' );
|
||||
/**
|
||||
* Filter the Multisite sign up URL.
|
||||
*
|
||||
@@ -651,7 +650,7 @@ case 'register' :
|
||||
*
|
||||
* @param string $sign_up_url The sign up URL.
|
||||
*/
|
||||
wp_redirect( apply_filters( 'wp_signup_location', $sign_up_url ) );
|
||||
wp_redirect( apply_filters( 'wp_signup_location', network_site_url( 'wp-signup.php' ) ) );
|
||||
exit;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user