Skip to content

Commit aa1f5ef

Browse files
committed
Users: Update label from "Admin Color Scheme" to "Administration Color Scheme".
This prevents confusion between "Admin" as a user role and "Admin" when speaking about the dashboard itself. Props ckoerner, audrasjb, debarghyabanerjee, SergeyBiryukov, corazondejaguar, pedrofigueroa1989. Fixes #63048. git-svn-id: https://develop.svn.wordpress.org/trunk@60284 602fd350-edb4-49c9-b593-d223f7449a82
1 parent a3d9130 commit aa1f5ef

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

src/wp-admin/includes/misc.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -988,7 +988,7 @@ function saveDomDocument( $doc, $filename ) { // phpcs:ignore WordPress.NamingCo
988988
}
989989

990990
/**
991-
* Displays the default admin color scheme picker (Used in user-edit.php).
991+
* Displays the default administration color scheme picker (Used in user-edit.php).
992992
*
993993
* @since 3.0.0
994994
*
@@ -1025,7 +1025,7 @@ function admin_color_scheme_picker( $user_id ) {
10251025
<legend class="screen-reader-text"><span>
10261026
<?php
10271027
/* translators: Hidden accessibility text. */
1028-
_e( 'Admin Color Scheme' );
1028+
_e( 'Administration Color Scheme' );
10291029
?>
10301030
</span></legend>
10311031
<?php

src/wp-admin/user-edit.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -333,11 +333,11 @@
333333

334334
<?php if ( count( $_wp_admin_css_colors ) > 1 && has_action( 'admin_color_scheme_picker' ) ) : ?>
335335
<tr class="user-admin-color-wrap">
336-
<th scope="row"><?php _e( 'Admin Color Scheme' ); ?></th>
336+
<th scope="row"><?php _e( 'Administration Color Scheme' ); ?></th>
337337
<td>
338338
<?php
339339
/**
340-
* Fires in the 'Admin Color Scheme' section of the user editing screen.
340+
* Fires in the 'Administration Color Scheme' section of the user editing screen.
341341
*
342342
* The section is only enabled if a callback is hooked to the action,
343343
* and if there is more than one defined color scheme for the admin.

0 commit comments

Comments
 (0)