diff --git a/wp-activate.php b/wp-activate.php index 7b7ef3498c..0fb0eaecf8 100644 --- a/wp-activate.php +++ b/wp-activate.php @@ -14,7 +14,7 @@ require( dirname(__FILE__) . '/wp-load.php' ); require( dirname( __FILE__ ) . '/wp-blog-header.php' ); if ( !is_multisite() ) { - wp_redirect( site_url( '/wp-login.php?action=register' ) ); + wp_redirect( wp_registration_url() ); die(); } diff --git a/wp-admin/includes/network.php b/wp-admin/includes/network.php index b47d831656..13004494f7 100644 --- a/wp-admin/includes/network.php +++ b/wp-admin/includes/network.php @@ -494,7 +494,7 @@ EOF; -

+

+
' . $login_form_top . '

diff --git a/wp-includes/version.php b/wp-includes/version.php index e7273536a4..d2390758a2 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.4-alpha-34212'; +$wp_version = '4.4-alpha-34213'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. diff --git a/wp-login.php b/wp-login.php index 9963a22e6a..9167bf8ef9 100644 --- a/wp-login.php +++ b/wp-login.php @@ -742,7 +742,7 @@ case 'register' : login_header(__('Registration Form'), '

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

', $errors); ?> - +

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

diff --git a/wp-signup.php b/wp-signup.php index 2729132099..fa88ba9e8d 100644 --- a/wp-signup.php +++ b/wp-signup.php @@ -28,7 +28,7 @@ function do_signup_header() { add_action( 'wp_head', 'do_signup_header' ); if ( !is_multisite() ) { - wp_redirect( site_url('wp-login.php?action=register') ); + wp_redirect( wp_registration_url() ); die(); } @@ -669,7 +669,7 @@ $current_user = wp_get_current_user(); if ( $active_signup == 'none' ) { _e( 'Registration has been disabled.' ); } elseif ( $active_signup == 'blog' && !is_user_logged_in() ) { - $login_url = site_url( 'wp-login.php?redirect_to=' . urlencode( network_site_url( 'wp-signup.php' ) ) ); + $login_url = wp_login_url( network_site_url( 'wp-signup.php' ) ); echo sprintf( __( 'You must first log in, and then you can create a new site.' ), $login_url ); } else { $stage = isset( $_POST['stage'] ) ? $_POST['stage'] : 'default';