WordPress.org

Make WordPress Core

Ticket #43144: 43144.diff

File 43144.diff, 1.7 KB (added by johnbillion, 2 years ago)
  • src/wp-admin/css/common.css

    diff --git a/src/wp-admin/css/common.css b/src/wp-admin/css/common.css
    index 868978d55f..897895d21a 100644
    a b code { 
    645645        color: #124964;
    646646}
    647647
     648/* Dashicon for language options on General Settings and Profile screens */
     649.form-table th label[for="locale"] .dashicons,
     650.form-table th label[for="WPLANG"] .dashicons {
     651        margin-left: 5px;
     652}
     653
    648654.wrap .page-title-action:focus {
    649655        border-color: #5b9dd9;
    650656        box-shadow: 0 0 2px rgba(30, 140, 190, 0.8);
  • src/wp-admin/options-general.php

    diff --git a/src/wp-admin/options-general.php b/src/wp-admin/options-general.php
    index f47011aa0b..260d785424 100644
    a b if ( ! is_multisite() && defined( 'WPLANG' ) && '' !== WPLANG && 'en_US' !== WPL 
    162162if ( ! empty( $languages ) || ! empty( $translations ) ) {
    163163        ?>
    164164        <tr>
    165                 <th scope="row"><label for="WPLANG"><?php _e( 'Site Language' ); ?></label></th>
     165                <th scope="row"><label for="WPLANG"><?php _e( 'Site Language' ); ?><span class="dashicons dashicons-translation" aria-hidden="true"></span></label></th>
    166166                <td>
    167167                        <?php
    168168                        $locale = get_locale();
  • src/wp-admin/user-edit.php

    diff --git a/src/wp-admin/user-edit.php b/src/wp-admin/user-edit.php
    index f478c3be57..fcb86e4bea 100644
    a b endif; // $_wp_admin_css_colors 
    327327<tr class="user-language-wrap">
    328328        <th scope="row">
    329329                        <?php /* translators: The user language selection field label */ ?>
    330                 <label for="locale"><?php _e( 'Language' ); ?></label>
     330                <label for="locale"><?php _e( 'Language' ); ?><span class="dashicons dashicons-translation" aria-hidden="true"></span></label>
    331331        </th>
    332332        <td>
    333333                        <?php