mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-02 03:34:33 +00:00
Administration: Move “Recovery Mode” to the beginning of the document title.
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
This commit is contained in:
@@ -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 );
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user