Make WordPress Core


Ignore:
Timestamp:
07/08/2014 12:29:47 AM (10 years ago)
Author:
johnbillion
Message:

Focus and blur styling (via JS) for the install screen language selector. Props jorbin. See #28577

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/upgrade.php

    r29018 r29020  
    21632163    echo "<fieldset>\n";
    21642164    echo "<legend class='screen-reader-text'>Select a default language</legend>\n";
    2165     echo '<input type="radio" checked="checked" class="screen-reader-input" name="language" id="language_default" value="">';
     2165    echo '<input type="radio" checked="checked" class="screen-reader-input language-chooser-input" name="language" id="language_default" value="">';
    21662166    echo '<label for="language_default">English (United States)</label>';
    21672167    echo "\n";
     
    21762176
    21772177    foreach ( $languages as $language ) {
    2178         echo '<input type="radio" name="language" class="' . esc_attr( $language['language'] ) . ' screen-reader-input" id="language_'. esc_attr( $language['language'] ) .'" value="' . esc_attr( $language['language'] ) . '">';
     2178        echo '<input type="radio" name="language" class="' . esc_attr( $language['language'] ) . ' screen-reader-input language-chooser-input" id="language_'. esc_attr( $language['language'] ) .'" value="' . esc_attr( $language['language'] ) . '">';
    21792179        echo '<label for="language_' . esc_attr( $language['language'] ) . '">' . esc_html( $language['native_name'] ) . "</label>\n";
    21802180    }
Note: See TracChangeset for help on using the changeset viewer.