From 105277f93ea80e0d27bf2ca868c00adeacb3510e Mon Sep 17 00:00:00 2001 From: desrosj Date: Fri, 12 Apr 2019 19:05:51 +0000 Subject: [PATCH] =?UTF-8?q?Administration:=20Move=20=E2=80=9CRecovery=20Mo?= =?UTF-8?q?de=E2=80=9D=20to=20the=20beginning=20of=20the=20document=20titl?= =?UTF-8?q?e.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This improves accessibility, ensuring users utilizing screen readers are informed that the site is in recovery mode. Props: afercia, TimothyBlynJacobs. See #46608. Built from https://develop.svn.wordpress.org/trunk@45175 git-svn-id: http://core.svn.wordpress.org/trunk@44984 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/admin-header.php | 2 +- wp-includes/version.php | 2 +- wp-login.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/wp-admin/admin-header.php b/wp-admin/admin-header.php index 805546bbc6..d8ebb7942d 100644 --- a/wp-admin/admin-header.php +++ b/wp-admin/admin-header.php @@ -54,7 +54,7 @@ if ( $admin_title == $title ) { if ( wp_is_recovery_mode() ) { /* translators: %s: Admin screen title. */ - $admin_title = sprintf( __( '%s — Recovery Mode' ), $admin_title ); + $admin_title = sprintf( __( 'Recovery Mode — %s' ), $admin_title ); } /** diff --git a/wp-includes/version.php b/wp-includes/version.php index 7d153f7e0e..4b0557e2f8 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.2-beta2-45174'; +$wp_version = '5.2-beta2-45175'; /** * 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 53c56945a4..a2929ce2a5 100644 --- a/wp-login.php +++ b/wp-login.php @@ -66,7 +66,7 @@ function login_header( $title = 'Log In', $message = '', $wp_error = null ) { if ( wp_is_recovery_mode() ) { /* translators: %s: Login screen title. */ - $login_title = sprintf( __( '%s — Recovery Mode' ), $login_title ); + $login_title = sprintf( __( 'Recovery Mode — %s' ), $login_title ); } /**