From 212bbbae9847bc8a4e268a0a1a851bc06e073aa1 Mon Sep 17 00:00:00 2001 From: Jonathan Desrosiers Date: Fri, 12 Apr 2019 19:04:13 +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. git-svn-id: https://develop.svn.wordpress.org/trunk@45175 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/admin-header.php | 2 +- src/wp-login.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wp-admin/admin-header.php b/src/wp-admin/admin-header.php index 805546bbc6..d8ebb7942d 100644 --- a/src/wp-admin/admin-header.php +++ b/src/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/src/wp-login.php b/src/wp-login.php index 53c56945a4..a2929ce2a5 100644 --- a/src/wp-login.php +++ b/src/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 ); } /**