Make WordPress Core


Ignore:
Timestamp:
07/14/2026 02:10:44 PM (2 months ago)
Author:
afercia
Message:

Login and Registration: Make the language switcher label always visible.

Additionally, makes consistent usage of the label plus the 'dashicons-translation' icon across all the pages in the admin and the multisite Signup page where the language switcher is in use.

Props abcd95, afercia.
Fixes #65464.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-login.php

    r61775 r62735  
    378378
    379379                                        <label for="language-switcher-locales">
    380                                                 <span class="dashicons dashicons-translation" aria-hidden="true"></span>
    381                                                 <span class="screen-reader-text">
    382                                                         <?php
    383                                                         /* translators: Hidden accessibility text. */
    384                                                         _e( 'Language' );
    385                                                         ?>
    386                                                 </span>
     380                                                <?php _e( 'Language' ); ?><span class="dashicons dashicons-translation" aria-hidden="true"></span>
    387381                                        </label>
    388382
Note: See TracChangeset for help on using the changeset viewer.