Ticket #28858: 28858.patch
File 28858.patch, 1.7 KB (added by , 10 years ago) |
---|
-
wp-admin/includes/upgrade.php
2160 2160 endif; 2161 2161 2162 2162 function wp_install_language_form( $languages ) { 2163 echo "<fieldset >\n";2163 echo "<fieldset tabindex='-1'>\n"; 2164 2164 echo "<legend class='screen-reader-text'>Select a default language</legend>\n"; 2165 2165 echo '<input type="radio" checked="checked" class="screen-reader-input language-chooser-input" name="language" id="language_default" value="">'; 2166 2166 echo '<label for="language_default">English (United States)</label>'; … … 2170 2170 if ( isset( $languages[ WPLANG ] ) ) { 2171 2171 $language = $languages[ WPLANG ]; 2172 2172 echo '<input type="radio" name="language" checked="checked" class="' . esc_attr( $language['language'] ) . ' screen-reader-input" id="language_wplang" value="' . esc_attr( $language['language'] ) . '">'; 2173 echo '<label for="language_wplang" >' . esc_html( $language['native_name'] ) . "</label>\n";2173 echo '<label for="language_wplang" lang="'. esc_attr( $language['language'] ) . '">' . esc_html( $language['native_name'] ) . "</label>\n"; 2174 2174 } 2175 2175 } 2176 2176 … … 2179 2179 echo '<label for="language_' . esc_attr( $language['language'] ) . '">' . esc_html( $language['native_name'] ) . "</label>\n"; 2180 2180 } 2181 2181 echo "</fieldset>\n"; 2182 echo '<p class="step"><span class="spinner"></span><input type="submit" class="button button-primary button-hero" value=" »" /></p>';2182 echo '<p class="step"><span class="spinner"></span><input type="submit" class="button button-primary button-hero" value="Set »" /></p>'; 2183 2183 } 2184 2184 2185 2185 /**