diff --git a/wp-includes/version.php b/wp-includes/version.php index 729ce7539c..a51bed5c4f 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.9-beta1-41842'; +$wp_version = '4.9-beta1-41843'; /** * 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 5159eab6ff..9bd4b2a6b0 100644 --- a/wp-login.php +++ b/wp-login.php @@ -135,6 +135,16 @@ function login_header( $title = 'Log In', $message = '', $wp_error = '' ) { */ $login_header_title = apply_filters( 'login_headertitle', $login_header_title ); + /* + * To match the URL/title set above, Multisite sites have the blog name, + * while single sites get the header title. + */ + if ( is_multisite() ) { + $login_header_text = bloginfo( 'name' ); + } else { + $login_header_text = $login_header_title; + } + $classes = array( 'login-action-' . $action, 'wp-core-ui' ); if ( is_rtl() ) $classes[] = 'rtl'; @@ -171,7 +181,7 @@ function login_header( $title = 'Log In', $message = '', $wp_error = '' ) { do_action( 'login_header' ); ?>
-

+