diff --git a/wp-includes/version.php b/wp-includes/version.php index 9a04ac2d69..3ddb235e2c 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.9-alpha-41690'; +$wp_version = '4.9-alpha-41691'; /** * 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 3db48622e7..869502414b 100644 --- a/wp-login.php +++ b/wp-login.php @@ -55,7 +55,20 @@ function login_header( $title = 'Log In', $message = '', $wp_error = '' ) { if ( $shake_error_codes && $wp_error->get_error_code() && in_array( $wp_error->get_error_code(), $shake_error_codes ) ) add_action( 'login_head', 'wp_shake_js', 12 ); - $separator = is_rtl() ? ' › ' : ' ‹ '; + $login_title = get_bloginfo( 'name', 'display' ); + + /* translators: Login screen title. 1: Login screen name, 2: Network or site name */ + $login_title = sprintf( __( '%1$s ‹ %2$s — WordPress' ), $title, $login_title ); + + /** + * Filters the title tag content for login page. + * + * @since 4.9.0 + * + * @param string $login_title The page title, with extra context added. + * @param string $title The original page title. + */ + $login_title = apply_filters( 'login_title', $login_title, $title ); ?> - <?php echo $title . $separator . get_bloginfo( 'name', 'display' ); ?> + <?php echo $login_title; ?>