Changeset 60805
- Timestamp:
- 09/28/2025 10:36:30 PM (7 weeks ago)
- Location:
- trunk/src/wp-admin
- Files:
-
- 12 edited
-
includes/class-custom-background.php (modified) (6 diffs)
-
includes/meta-boxes.php (modified) (8 diffs)
-
includes/misc.php (modified) (1 diff)
-
install.php (modified) (1 diff)
-
network/settings.php (modified) (3 diffs)
-
network/site-info.php (modified) (2 diffs)
-
options-discussion.php (modified) (9 diffs)
-
options-general.php (modified) (3 diffs)
-
options-media.php (modified) (3 diffs)
-
options-permalink.php (modified) (1 diff)
-
options-reading.php (modified) (3 diffs)
-
options-writing.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-custom-background.php
r59813 r60805 378 378 379 379 <?php 380 $background_position_title = __( 'Image Position' ); 381 380 382 $background_position = sprintf( 381 383 '%s %s', … … 430 432 ?> 431 433 <tr> 432 <th scope="row"><?php _e( 'Image Position' ); ?></th> 433 <td><fieldset><legend class="screen-reader-text"><span> 434 <?php 435 /* translators: Hidden accessibility text. */ 436 _e( 'Image Position' ); 437 ?> 438 </span></legend> 434 <th scope="row"><?php echo $background_position_title; ?></th> 435 <td><fieldset><legend class="screen-reader-text"><span><?php echo $background_position_title; ?></span></legend> 439 436 <div class="background-position-control"> 440 437 <?php foreach ( $background_position_options as $group ) : ?> … … 453 450 </tr> 454 451 455 <tr> 456 <th scope="row"><label for="background-size"><?php _e( 'Image Size' ); ?></label></th> 457 <td><fieldset><legend class="screen-reader-text"><span> 458 <?php 459 /* translators: Hidden accessibility text. */ 460 _e( 'Image Size' ); 461 ?> 462 </span></legend> 452 <?php $image_size_title = __( 'Image Size' ); ?> 453 <tr> 454 <th scope="row"><label for="background-size"><?php echo $image_size_title; ?></label></th> 455 <td><fieldset><legend class="screen-reader-text"><span><?php echo $image_size_title; ?></span></legend> 463 456 <select id="background-size" name="background-size"> 464 457 <option value="auto"<?php selected( 'auto', get_theme_mod( 'background_size', get_theme_support( 'custom-background', 'default-size' ) ) ); ?>><?php _ex( 'Original', 'Original Size' ); ?></option> … … 469 462 </tr> 470 463 471 <tr> 472 <th scope="row"><?php _ex( 'Repeat', 'Background Repeat' ); ?></th> 473 <td><fieldset><legend class="screen-reader-text"><span> 474 <?php 475 /* translators: Hidden accessibility text. */ 476 _ex( 'Repeat', 'Background Repeat' ); 477 ?> 478 </span></legend> 464 <?php $background_repeat_title = _x( 'Repeat', 'Background Repeat' ); ?> 465 <tr> 466 <th scope="row"><?php echo $background_repeat_title; ?></th> 467 <td><fieldset><legend class="screen-reader-text"><span><?php echo $background_repeat_title; ?></span></legend> 479 468 <input name="background-repeat" type="hidden" value="no-repeat"> 480 469 <label><input type="checkbox" name="background-repeat" value="repeat"<?php checked( 'repeat', get_theme_mod( 'background_repeat', get_theme_support( 'custom-background', 'default-repeat' ) ) ); ?>> <?php _e( 'Repeat Background Image' ); ?></label> … … 482 471 </tr> 483 472 484 <tr> 485 <th scope="row"><?php _ex( 'Scroll', 'Background Scroll' ); ?></th> 486 <td><fieldset><legend class="screen-reader-text"><span> 487 <?php 488 /* translators: Hidden accessibility text. */ 489 _ex( 'Scroll', 'Background Scroll' ); 490 ?> 491 </span></legend> 473 <?php $background_scroll_title = _x( 'Scroll', 'Background Scroll' ); ?> 474 <tr> 475 <th scope="row"><?php echo $background_scroll_title; ?></th> 476 <td><fieldset><legend class="screen-reader-text"><span><?php echo $background_scroll_title; ?></span></legend> 492 477 <input name="background-attachment" type="hidden" value="fixed"> 493 478 <label><input name="background-attachment" type="checkbox" value="scroll" <?php checked( 'scroll', get_theme_mod( 'background_attachment', get_theme_support( 'custom-background', 'default-attachment' ) ) ); ?>> <?php _e( 'Scroll with Page' ); ?></label> … … 495 480 </tr> 496 481 <?php endif; // get_background_image() ?> 497 <tr> 498 <th scope="row"><?php _e( 'Background Color' ); ?></th> 499 <td><fieldset><legend class="screen-reader-text"><span> 500 <?php 501 /* translators: Hidden accessibility text. */ 502 _e( 'Background Color' ); 503 ?> 504 </span></legend> 482 483 <?php $background_color_title = __( 'Background Color' ); ?> 484 <tr> 485 <th scope="row"><?php echo $background_color_title; ?></th> 486 <td><fieldset><legend class="screen-reader-text"><span><?php echo $background_color_title; ?></span></legend> 505 487 <?php 506 488 $default_color = ''; -
trunk/src/wp-admin/includes/meta-boxes.php
r59784 r60805 1229 1229 1230 1230 ?> 1231 <fieldset><legend class="screen-reader-text"><span> 1232 <?php 1233 /* translators: Hidden accessibility text. */ 1234 _e( 'Target' ); 1235 ?> 1236 </span></legend> 1231 <fieldset><legend class="screen-reader-text"><span><?php _e( 'Target' ); ?></span></legend> 1237 1232 <p><label for="link_target_blank" class="selectit"> 1238 1233 <input id="link_target_blank" type="radio" name="link_target" value="_blank" <?php echo ( isset( $link->link_target ) && ( '_blank' === $link->link_target ) ? 'checked="checked"' : '' ); ?> /> … … 1322 1317 <td><input type="text" name="link_rel" id="link_rel" value="<?php echo ( isset( $link->link_rel ) ? esc_attr( $link->link_rel ) : '' ); ?>" /></td> 1323 1318 </tr> 1319 <?php $identity_group_title = /* translators: xfn: https://gmpg.org/xfn/ */ __( 'identity' ); ?> 1324 1320 <tr> 1325 <th scope="row"><?php /* translators: xfn: https://gmpg.org/xfn/ */ _e( 'identity' ); ?></th>1321 <th scope="row"><?php echo $identity_group_title; ?></th> 1326 1322 <td><fieldset> 1327 <legend class="screen-reader-text"><span> 1328 <?php 1329 /* translators: Hidden accessibility text. xfn: https://gmpg.org/xfn/ */ 1330 _e( 'identity' ); 1331 ?> 1332 </span></legend> 1323 <legend class="screen-reader-text"><span><?php echo $identity_group_title; ?></span></legend> 1333 1324 <label for="me"> 1334 1325 <input type="checkbox" name="identity" value="me" id="me" <?php xfn_check( 'identity', 'me' ); ?> /> … … 1336 1327 </fieldset></td> 1337 1328 </tr> 1329 <?php $friendship_group_title = /* translators: xfn: https://gmpg.org/xfn/ */ __( 'friendship' ); ?> 1338 1330 <tr> 1339 <th scope="row"><?php /* translators: xfn: https://gmpg.org/xfn/ */ _e( 'friendship' ); ?></th>1331 <th scope="row"><?php echo $friendship_group_title; ?></th> 1340 1332 <td><fieldset> 1341 <legend class="screen-reader-text"><span> 1342 <?php 1343 /* translators: Hidden accessibility text. xfn: https://gmpg.org/xfn/ */ 1344 _e( 'friendship' ); 1345 ?> 1346 </span></legend> 1333 <legend class="screen-reader-text"><span><?php echo $friendship_group_title; ?></span></legend> 1347 1334 <label for="contact"> 1348 1335 <input class="valinp" type="radio" name="friendship" value="contact" id="contact" <?php xfn_check( 'friendship', 'contact' ); ?> /> <?php /* translators: xfn: https://gmpg.org/xfn/ */ _e( 'contact' ); ?> … … 1359 1346 </fieldset></td> 1360 1347 </tr> 1348 <?php $physical_group_title = /* translators: xfn: https://gmpg.org/xfn/ */ __( 'physical' ); ?> 1361 1349 <tr> 1362 <th scope="row"> <?php /* translators: xfn: https://gmpg.org/xfn/ */ _e( 'physical' ); ?> </th>1350 <th scope="row"> <?php echo $physical_group_title; ?> </th> 1363 1351 <td><fieldset> 1364 <legend class="screen-reader-text"><span> 1365 <?php 1366 /* translators: Hidden accessibility text. xfn: https://gmpg.org/xfn/ */ 1367 _e( 'physical' ); 1368 ?> 1369 </span></legend> 1352 <legend class="screen-reader-text"><span><?php echo $physical_group_title; ?></span></legend> 1370 1353 <label for="met"> 1371 1354 <input class="valinp" type="checkbox" name="physical" value="met" id="met" <?php xfn_check( 'physical', 'met' ); ?> /> <?php /* translators: xfn: https://gmpg.org/xfn/ */ _e( 'met' ); ?> … … 1373 1356 </fieldset></td> 1374 1357 </tr> 1358 <?php $professional_group_title = /* translators: xfn: https://gmpg.org/xfn/ */ __( 'professional' ); ?> 1375 1359 <tr> 1376 <th scope="row"> <?php /* translators: xfn: https://gmpg.org/xfn/ */ _e( 'professional' ); ?> </th>1360 <th scope="row"> <?php echo $professional_group_title; ?> </th> 1377 1361 <td><fieldset> 1378 <legend class="screen-reader-text"><span> 1379 <?php 1380 /* translators: Hidden accessibility text. xfn: https://gmpg.org/xfn/ */ 1381 _e( 'professional' ); 1382 ?> 1383 </span></legend> 1362 <legend class="screen-reader-text"><span><?php echo $professional_group_title; ?></span></legend> 1384 1363 <label for="co-worker"> 1385 1364 <input class="valinp" type="checkbox" name="professional" value="co-worker" id="co-worker" <?php xfn_check( 'professional', 'co-worker' ); ?> /> <?php /* translators: xfn: https://gmpg.org/xfn/ */ _e( 'co-worker' ); ?> … … 1390 1369 </fieldset></td> 1391 1370 </tr> 1371 <?php $geographical_group_title = /* translators: xfn: https://gmpg.org/xfn/ */ __( 'geographical' ); ?> 1392 1372 <tr> 1393 <th scope="row"><?php /* translators: xfn: https://gmpg.org/xfn/ */ _e( 'geographical' ); ?></th>1373 <th scope="row"><?php echo $geographical_group_title; ?></th> 1394 1374 <td><fieldset> 1395 <legend class="screen-reader-text"><span> 1396 <?php 1397 /* translators: Hidden accessibility text. xfn: https://gmpg.org/xfn/ */ 1398 _e( 'geographical' ); 1399 ?> 1400 </span></legend> 1375 <legend class="screen-reader-text"><span><?php echo $geographical_group_title; ?></span></legend> 1401 1376 <label for="co-resident"> 1402 1377 <input class="valinp" type="radio" name="geographical" value="co-resident" id="co-resident" <?php xfn_check( 'geographical', 'co-resident' ); ?> /> <?php /* translators: xfn: https://gmpg.org/xfn/ */ _e( 'co-resident' ); ?> … … 1410 1385 </fieldset></td> 1411 1386 </tr> 1387 <?php $family_group_title = /* translators: xfn: https://gmpg.org/xfn/ */ __( 'family' ); ?> 1412 1388 <tr> 1413 <th scope="row"><?php /* translators: xfn: https://gmpg.org/xfn/ */ _e( 'family' ); ?></th>1389 <th scope="row"><?php echo $family_group_title; ?></th> 1414 1390 <td><fieldset> 1415 <legend class="screen-reader-text"><span> 1416 <?php 1417 /* translators: Hidden accessibility text. xfn: https://gmpg.org/xfn/ */ 1418 _e( 'family' ); 1419 ?> 1420 </span></legend> 1391 <legend class="screen-reader-text"><span><?php echo $family_group_title; ?></span></legend> 1421 1392 <label for="child"> 1422 1393 <input class="valinp" type="radio" name="family" value="child" id="child" <?php xfn_check( 'family', 'child' ); ?> /> <?php /* translators: xfn: https://gmpg.org/xfn/ */ _e( 'child' ); ?> … … 1439 1410 </fieldset></td> 1440 1411 </tr> 1412 <?php $romantic_group_title = /* translators: xfn: https://gmpg.org/xfn/ */ __( 'romantic' ); ?> 1441 1413 <tr> 1442 <th scope="row"><?php /* translators: xfn: https://gmpg.org/xfn/ */ _e( 'romantic' ); ?></th>1414 <th scope="row"><?php echo $romantic_group_title; ?></th> 1443 1415 <td><fieldset> 1444 <legend class="screen-reader-text"><span> 1445 <?php 1446 /* translators: Hidden accessibility text. xfn: https://gmpg.org/xfn/ */ 1447 _e( 'romantic' ); 1448 ?> 1449 </span></legend> 1416 <legend class="screen-reader-text"><span><?php echo $romantic_group_title; ?></span></legend> 1450 1417 <label for="muse"> 1451 1418 <input class="valinp" type="checkbox" name="romantic" value="muse" id="muse" <?php xfn_check( 'romantic', 'muse' ); ?> /> <?php /* translators: xfn: https://gmpg.org/xfn/ */ _e( 'muse' ); ?> -
trunk/src/wp-admin/includes/misc.php
r60681 r60805 1023 1023 ?> 1024 1024 <fieldset id="color-picker" class="scheme-list"> 1025 <legend class="screen-reader-text"><span> 1026 <?php 1027 /* translators: Hidden accessibility text. */ 1028 _e( 'Administration Color Scheme' ); 1029 ?> 1030 </span></legend> 1025 <legend class="screen-reader-text"><span><?php _e( 'Administration Color Scheme' ); ?></span></legend> 1031 1026 <?php 1032 1027 wp_nonce_field( 'save-color-scheme', 'color-nonce', false ); -
trunk/src/wp-admin/install.php
r60363 r60805 181 181 <p id="admin-email-desc"><?php _e( 'Double-check your email address before continuing.' ); ?></p></td> 182 182 </tr> 183 <?php $blog_privacy_selector_title = has_action( 'blog_privacy_selector' ) ? __( 'Site visibility' ) : __( 'Search engine visibility' ); ?> 183 184 <tr> 184 <th scope="row"><?php has_action( 'blog_privacy_selector' ) ? _e( 'Site visibility' ) : _e( 'Search engine visibility' ); ?></th>185 <th scope="row"><?php echo $blog_privacy_selector_title; ?></th> 185 186 <td> 186 187 <fieldset> 187 <legend class="screen-reader-text"><span> 188 <?php 189 has_action( 'blog_privacy_selector' ) 190 /* translators: Hidden accessibility text. */ 191 ? _e( 'Site visibility' ) 192 /* translators: Hidden accessibility text. */ 193 : _e( 'Search engine visibility' ); 194 ?> 195 </span></legend> 188 <legend class="screen-reader-text"><span><?php echo $blog_privacy_selector_title; ?></span></legend> 196 189 <?php 197 190 if ( has_action( 'blog_privacy_selector' ) ) { -
trunk/src/wp-admin/network/settings.php
r59784 r60805 200 200 <h2><?php _e( 'Registration Settings' ); ?></h2> 201 201 <table class="form-table" role="presentation"> 202 <tr> 203 <th scope="row"><?php _e( 'Allow new registrations' ); ?></th> 202 <?php $new_registrations_settings_title = __( 'Allow new registrations' ); ?> 203 <tr> 204 <th scope="row"><?php echo $new_registrations_settings_title; ?></th> 204 205 <?php 205 206 if ( ! get_site_option( 'registration' ) ) { … … 210 211 <td> 211 212 <fieldset> 212 <legend class="screen-reader-text"> 213 <?php 214 /* translators: Hidden accessibility text. */ 215 _e( 'New registrations settings' ); 216 ?> 217 </legend> 213 <legend class="screen-reader-text"><?php echo $new_registrations_settings_title; ?></legend> 218 214 <label><input name="registration" type="radio" id="registration1" value="none"<?php checked( $reg, 'none' ); ?> /> <?php _e( 'Registration is disabled' ); ?></label><br /> 219 215 <label><input name="registration" type="radio" id="registration2" value="user"<?php checked( $reg, 'user' ); ?> /> <?php _e( 'User accounts may be registered' ); ?></label><br /> … … 511 507 <h2><?php _e( 'Menu Settings' ); ?></h2> 512 508 <table id="menu" class="form-table"> 509 <?php $enable_administration_menus_title = __( 'Enable administration menus' ); ?> 513 510 <tr> 514 <th scope="row"><?php _e( 'Enable administration menus' ); ?></th>511 <th scope="row"><?php echo $enable_administration_menus_title; ?></th> 515 512 <td> 516 513 <?php 517 echo '<fieldset><legend class="screen-reader-text">' . 518 /* translators: Hidden accessibility text. */ 519 __( 'Enable menus' ) . 520 '</legend>'; 514 echo '<fieldset><legend class="screen-reader-text">' . $enable_administration_menus_title . '</legend>'; 521 515 522 516 foreach ( (array) $menu_items as $key => $val ) { -
trunk/src/wp-admin/network/site-info.php
r60358 r60805 197 197 </tr> 198 198 <?php 199 $site_attributes_title = __( 'Attributes' ); 200 199 201 $attribute_fields = array( 'public' => _x( 'Public', 'site' ) ); 200 202 if ( ! $is_main_site ) { … … 206 208 ?> 207 209 <tr> 208 <th scope="row"><?php _e( 'Attributes' ); ?></th>210 <th scope="row"><?php echo $site_attributes_title; ?></th> 209 211 <td> 210 212 <fieldset> 211 <legend class="screen-reader-text"> 212 <?php 213 /* translators: Hidden accessibility text. */ 214 _e( 'Set site attributes' ); 215 ?> 216 </legend> 213 <legend class="screen-reader-text"><?php echo $site_attributes_title; ?></legend> 217 214 <?php foreach ( $attribute_fields as $field_key => $field_label ) : ?> 218 215 <label><input type="checkbox" name="blog[<?php echo $field_key; ?>]" value="1" <?php checked( (bool) $details->$field_key, true ); ?> <?php disabled( ! in_array( (int) $details->$field_key, array( 0, 1 ), true ) ); ?> /> -
trunk/src/wp-admin/options-discussion.php
r60269 r60805 44 44 45 45 <table class="form-table indent-children" role="presentation"> 46 <tr> 47 <th scope="row"><?php _e( 'Default post settings' ); ?></th> 48 <td><fieldset><legend class="screen-reader-text"><span> 49 <?php 50 /* translators: Hidden accessibility text. */ 51 _e( 'Default post settings' ); 52 ?> 53 </span></legend> 46 <?php $default_post_settings_title = __( 'Default post settings' ); ?> 47 <tr> 48 <th scope="row"><?php echo $default_post_settings_title; ?></th> 49 <td><fieldset><legend class="screen-reader-text"><span><?php echo $default_post_settings_title; ?></span></legend> 54 50 <label for="default_pingback_flag"> 55 51 <input name="default_pingback_flag" type="checkbox" id="default_pingback_flag" value="1" <?php checked( '1', get_option( 'default_pingback_flag' ) ); ?> /> … … 67 63 </fieldset></td> 68 64 </tr> 69 <tr> 70 <th scope="row"><?php _e( 'Other comment settings' ); ?></th> 71 <td><fieldset><legend class="screen-reader-text"><span> 72 <?php 73 /* translators: Hidden accessibility text. */ 74 _e( 'Other comment settings' ); 75 ?> 76 </span></legend> 65 <?php $other_comment_settings_title = __( 'Other comment settings' ); ?> 66 <tr> 67 <th scope="row"><?php echo $other_comment_settings_title; ?></th> 68 <td><fieldset><legend class="screen-reader-text"><span><?php echo $other_comment_settings_title; ?></span></legend> 77 69 <label for="require_name_email"><input type="checkbox" name="require_name_email" id="require_name_email" value="1" <?php checked( '1', get_option( 'require_name_email' ) ); ?> /> <?php _e( 'Comment author must fill out name and email' ); ?></label> 78 70 <br /> … … 130 122 </tr> 131 123 132 <tr> 133 <th scope="row"><?php _e( 'Comment Pagination' ); ?></th> 134 <td><fieldset><legend class="screen-reader-text"><span> 135 <?php 136 /* translators: Hidden accessibility text. */ 137 _e( 'Comment Pagination' ); 138 ?> 139 </span></legend> 124 <?php $comment_pagination_title = __( 'Comment Pagination' ); ?> 125 <tr> 126 <th scope="row"><?php echo $comment_pagination_title; ?></th> 127 <td><fieldset><legend class="screen-reader-text"><span><?php echo $comment_pagination_title; ?></span></legend> 140 128 <input name="page_comments" type="checkbox" id="page_comments" value="1" <?php checked( '1', get_option( 'page_comments' ) ); ?> /> 141 129 <label for="page_comments"><?php _e( 'Break comments into pages' ); ?></label> … … 162 150 </fieldset></td> 163 151 </tr> 164 <tr> 165 <th scope="row"><?php _e( 'Email me whenever' ); ?></th> 166 <td><fieldset><legend class="screen-reader-text"><span> 167 <?php 168 /* translators: Hidden accessibility text. */ 169 _e( 'Email me whenever' ); 170 ?> 171 </span></legend> 152 <?php $email_me_whenever_title = __( 'Email me whenever' ); ?> 153 <tr> 154 <th scope="row"><?php echo $email_me_whenever_title; ?></th> 155 <td><fieldset><legend class="screen-reader-text"><span><?php echo $email_me_whenever_title; ?></span></legend> 172 156 <label for="comments_notify"> 173 157 <input name="comments_notify" type="checkbox" id="comments_notify" value="1" <?php checked( '1', get_option( 'comments_notify' ) ); ?> /> … … 179 163 </fieldset></td> 180 164 </tr> 181 <tr> 182 <th scope="row"><?php _e( 'Before a comment appears' ); ?></th> 183 <td><fieldset><legend class="screen-reader-text"><span> 184 <?php 185 /* translators: Hidden accessibility text. */ 186 _e( 'Before a comment appears' ); 187 ?> 188 </span></legend> 165 <?php $before_comment_appears_title = __( 'Before a comment appears' ); ?> 166 <tr> 167 <th scope="row"><?php echo $before_comment_appears_title; ?></th> 168 <td><fieldset><legend class="screen-reader-text"><span><?php echo $before_comment_appears_title; ?></span></legend> 189 169 <label for="comment_moderation"> 190 170 <input name="comment_moderation" type="checkbox" id="comment_moderation" value="1" <?php checked( '1', get_option( 'comment_moderation' ) ); ?> /> … … 194 174 </fieldset></td> 195 175 </tr> 196 <tr> 197 <th scope="row"><?php _e( 'Comment Moderation' ); ?></th> 198 <td><fieldset><legend class="screen-reader-text"><span> 199 <?php 200 /* translators: Hidden accessibility text. */ 201 _e( 'Comment Moderation' ); 202 ?> 203 </span></legend> 176 <?php $comment_moderation_title = __( 'Comment Moderation' ); ?> 177 <tr> 178 <th scope="row"><?php echo $comment_moderation_title; ?></th> 179 <td><fieldset><legend class="screen-reader-text"><span><?php echo $comment_moderation_title; ?></span></legend> 204 180 <p><label for="comment_max_links"> 205 181 <?php … … 218 194 </fieldset></td> 219 195 </tr> 220 <tr> 221 <th scope="row"><?php _e( 'Disallowed Comment Keys' ); ?></th> 222 <td><fieldset><legend class="screen-reader-text"><span> 223 <?php 224 /* translators: Hidden accessibility text. */ 225 _e( 'Disallowed Comment Keys' ); 226 ?> 227 </span></legend> 196 <?php $disallowed_comment_keys_title = __( 'Disallowed Comment Keys' ); ?> 197 <tr> 198 <th scope="row"><?php echo $disallowed_comment_keys_title; ?></th> 199 <td><fieldset><legend class="screen-reader-text"><span><?php echo $disallowed_comment_keys_title; ?></span></legend> 228 200 <p><label for="disallowed_keys"><?php _e( 'When a comment contains any of these words in its content, author name, URL, email, IP address, or browser’s user agent string, it will be put in the Trash. One word or IP address per line. It will match inside words, so “press” will match “WordPress”.' ); ?></label></p> 229 201 <p> … … 259 231 </td> 260 232 </tr> 233 <?php $maximum_rating_title = __( 'Maximum Rating' ); ?> 261 234 <tr class="avatar-settings<?php echo $show_avatars_class; ?>"> 262 <th scope="row"><?php _e( 'Maximum Rating' ); ?></th> 263 <td><fieldset><legend class="screen-reader-text"><span> 264 <?php 265 /* translators: Hidden accessibility text. */ 266 _e( 'Maximum Rating' ); 267 ?> 268 </span></legend> 235 <th scope="row"><?php echo $maximum_rating_title; ?></th> 236 <td><fieldset><legend class="screen-reader-text"><span><?php echo $maximum_rating_title; ?></span></legend> 269 237 270 238 <?php … … 287 255 </fieldset></td> 288 256 </tr> 257 <?php $default_avatar_title = __( 'Default Avatar' ); ?> 289 258 <tr class="avatar-settings<?php echo $show_avatars_class; ?>"> 290 <th scope="row"><?php _e( 'Default Avatar' ); ?></th> 291 <td class="defaultavatarpicker"><fieldset><legend class="screen-reader-text"><span> 292 <?php 293 /* translators: Hidden accessibility text. */ 294 _e( 'Default Avatar' ); 295 ?> 296 </span></legend> 259 <th scope="row"><?php echo $default_avatar_title; ?></th> 260 <td class="defaultavatarpicker"><fieldset><legend class="screen-reader-text"><span><?php echo $default_avatar_title; ?></span></legend> 297 261 298 262 <p> -
trunk/src/wp-admin/options-general.php
r60645 r60805 290 290 </tr> 291 291 292 <?php if ( ! is_multisite() ) { ?> 293 294 <tr> 295 <th scope="row"><?php _e( 'Membership' ); ?></th> 296 <td> <fieldset><legend class="screen-reader-text"><span> 297 <?php 298 /* translators: Hidden accessibility text. */ 299 _e( 'Membership' ); 300 ?> 301 </span></legend><label for="users_can_register"> 292 <?php 293 if ( ! is_multisite() ) { 294 $membership_title = __( 'Membership' ); 295 ?> 296 <tr> 297 <th scope="row"><?php echo $membership_title; ?></th> 298 <td><fieldset><legend class="screen-reader-text"><span><?php echo $membership_title; ?></span></legend><label for="users_can_register"> 302 299 <input name="users_can_register" type="checkbox" id="users_can_register" value="1" <?php checked( '1', get_option( 'users_can_register' ) ); ?> /> 303 300 <?php _e( 'Anyone can register' ); ?></label> … … 460 457 <?php endif; ?> 461 458 </td> 462 463 </tr> 464 <tr> 465 <th scope="row"><?php _e( 'Date Format' ); ?></th> 459 </tr> 460 461 <?php $date_format_title = __( 'Date Format' ); ?> 462 <tr> 463 <th scope="row"><?php echo $date_format_title; ?></th> 466 464 <td> 467 <fieldset><legend class="screen-reader-text"><span> 468 <?php 469 /* translators: Hidden accessibility text. */ 470 _e( 'Date Format' ); 471 ?> 472 </span></legend> 465 <fieldset><legend class="screen-reader-text"><span><?php echo $date_format_title; ?></span></legend> 473 466 <?php 474 467 /** … … 512 505 </td> 513 506 </tr> 514 <tr> 515 <th scope="row"><?php _e( 'Time Format' ); ?></th> 507 508 <?php $time_format_title = __( 'Time Format' ); ?> 509 <tr> 510 <th scope="row"><?php echo $time_format_title; ?></th> 516 511 <td> 517 <fieldset><legend class="screen-reader-text"><span> 518 <?php 519 /* translators: Hidden accessibility text. */ 520 _e( 'Time Format' ); 521 ?> 522 </span></legend> 512 <fieldset><legend class="screen-reader-text"><span><?php echo $time_format_title; ?></span></legend> 523 513 <?php 524 514 /** -
trunk/src/wp-admin/options-media.php
r59600 r60805 57 57 58 58 <table class="form-table" role="presentation"> 59 <?php $thumbnail_size_title = __( 'Thumbnail size' ); ?> 59 60 <tr> 60 <th scope="row"><?php _e( 'Thumbnail size' ); ?></th> 61 <td><fieldset><legend class="screen-reader-text"><span> 62 <?php 63 /* translators: Hidden accessibility text. */ 64 _e( 'Thumbnail size' ); 65 ?> 66 </span></legend> 61 <th scope="row"><?php echo $thumbnail_size_title; ?></th> 62 <td><fieldset><legend class="screen-reader-text"><span><?php echo $thumbnail_size_title; ?></span></legend> 67 63 <label for="thumbnail_size_w"><?php _e( 'Width' ); ?></label> 68 64 <input name="thumbnail_size_w" type="number" step="1" min="0" id="thumbnail_size_w" value="<?php form_option( 'thumbnail_size_w' ); ?>" class="small-text" /> … … 76 72 </tr> 77 73 74 <?php $medium_size_title = __( 'Medium size' ); ?> 78 75 <tr> 79 <th scope="row"><?php _e( 'Medium size' ); ?></th> 80 <td><fieldset><legend class="screen-reader-text"><span> 81 <?php 82 /* translators: Hidden accessibility text. */ 83 _e( 'Medium size' ); 84 ?> 85 </span></legend> 76 <th scope="row"><?php echo $medium_size_title; ?></th> 77 <td><fieldset><legend class="screen-reader-text"><span><?php echo $medium_size_title; ?></span></legend> 86 78 <label for="medium_size_w"><?php _e( 'Max Width' ); ?></label> 87 79 <input name="medium_size_w" type="number" step="1" min="0" id="medium_size_w" value="<?php form_option( 'medium_size_w' ); ?>" class="small-text" /> … … 92 84 </tr> 93 85 86 <?php $large_size_title = __( 'Large size' ); ?> 94 87 <tr> 95 <th scope="row"><?php _e( 'Large size' ); ?></th> 96 <td><fieldset><legend class="screen-reader-text"><span> 97 <?php 98 /* translators: Hidden accessibility text. */ 99 _e( 'Large size' ); 100 ?> 101 </span></legend> 88 <th scope="row"><?php echo $large_size_title; ?></th> 89 <td><fieldset><legend class="screen-reader-text"><span><?php echo $large_size_title; ?></span></legend> 102 90 <label for="large_size_w"><?php _e( 'Max Width' ); ?></label> 103 91 <input name="large_size_w" type="number" step="1" min="0" id="large_size_w" value="<?php form_option( 'large_size_w' ); ?>" class="small-text" /> -
trunk/src/wp-admin/options-permalink.php
r57793 r60805 327 327 <table class="form-table permalink-structure" role="presentation"> 328 328 <tbody> 329 <?php $permalink_structure_title = __( 'Permalink structure' ); ?> 329 330 <tr> 330 <th scope="row"><?php _e( 'Permalink structure' ); ?></th>331 <th scope="row"><?php echo $permalink_structure_title; ?></th> 331 332 <td> 332 333 <fieldset class="structure-selection"> 333 <legend class="screen-reader-text"> 334 <?php 335 /* translators: Hidden accessibility text. */ 336 _e( 'Permalink structure' ); 337 ?> 338 </legend> 334 <legend class="screen-reader-text"><?php echo $permalink_structure_title; ?></legend> 339 335 <?php foreach ( $default_structures as $input ) : ?> 340 336 <div class="row"> -
trunk/src/wp-admin/options-reading.php
r58147 r60805 82 82 update_option( 'show_on_front', 'posts' ); 83 83 } 84 85 $your_homepage_displays_title = __( 'Your homepage displays' ); 84 86 ?> 85 87 <table class="form-table" role="presentation"> 86 88 <tr> 87 <th scope="row"><?php _e( 'Your homepage displays' ); ?></th>89 <th scope="row"><?php echo $your_homepage_displays_title; ?></th> 88 90 <td id="front-static-pages"><fieldset> 89 <legend class="screen-reader-text"><span> 90 <?php 91 /* translators: Hidden accessibility text. */ 92 _e( 'Your homepage displays' ); 93 ?> 94 </span></legend> 91 <legend class="screen-reader-text"><span><?php echo $your_homepage_displays_title; ?></span></legend> 95 92 <p><label> 96 93 <input name="show_on_front" type="radio" value="posts" class="tog" <?php checked( 'posts', get_option( 'show_on_front' ) ); ?> /> … … 180 177 <td><input name="posts_per_rss" type="number" step="1" min="1" id="posts_per_rss" value="<?php form_option( 'posts_per_rss' ); ?>" class="small-text" /> <?php _e( 'items' ); ?></td> 181 178 </tr> 182 <tr> 183 <th scope="row"><?php _e( 'For each post in a feed, include' ); ?> </th> 179 180 <?php $rss_use_excerpt_title = __( 'For each post in a feed, include' ); ?> 181 <tr> 182 <th scope="row"><?php echo $rss_use_excerpt_title; ?> </th> 184 183 <td><fieldset> 185 <legend class="screen-reader-text"><span> 186 <?php 187 /* translators: Hidden accessibility text. */ 188 _e( 'For each post in a feed, include' ); 189 ?> 190 </span></legend> 184 <legend class="screen-reader-text"><span><?php echo $rss_use_excerpt_title; ?></span></legend> 191 185 <p> 192 186 <label><input name="rss_use_excerpt" type="radio" value="0" <?php checked( 0, get_option( 'rss_use_excerpt' ) ); ?> /> <?php _e( 'Full text' ); ?></label><br /> … … 205 199 </tr> 206 200 201 <?php $blog_privacy_selector_title = has_action( 'blog_privacy_selector' ) ? __( 'Site visibility' ) : __( 'Search engine visibility' ); ?> 207 202 <tr class="option-site-visibility"> 208 <th scope="row"><?php has_action( 'blog_privacy_selector' ) ? _e( 'Site visibility' ) : _e( 'Search engine visibility' ); ?> </th>203 <th scope="row"><?php echo $blog_privacy_selector_title; ?> </th> 209 204 <td><fieldset> 210 <legend class="screen-reader-text"><span> 211 <?php 212 has_action( 'blog_privacy_selector' ) 213 /* translators: Hidden accessibility text. */ 214 ? _e( 'Site visibility' ) 215 /* translators: Hidden accessibility text. */ 216 : _e( 'Search engine visibility' ); 217 ?> 218 </span></legend> 205 <legend class="screen-reader-text"><span><?php echo $blog_privacy_selector_title; ?></span></legend> 219 206 <?php if ( has_action( 'blog_privacy_selector' ) ) : ?> 220 207 <input id="blog-public" type="radio" name="blog_public" value="1" <?php checked( '1', get_option( 'blog_public' ) ); ?> /> -
trunk/src/wp-admin/options-writing.php
r57793 r60805 68 68 <table class="form-table" role="presentation"> 69 69 <?php if ( get_site_option( 'initial_db_version' ) < 32453 ) : ?> 70 <tr> 71 <th scope="row"><?php _e( 'Formatting' ); ?></th> 72 <td><fieldset><legend class="screen-reader-text"><span> 73 <?php 74 /* translators: Hidden accessibility text. */ 75 _e( 'Formatting' ); 76 ?> 77 </span></legend> 70 <?php $formatting_title = __( 'Formatting' ); ?> 71 <tr> 72 <th scope="row"><?php echo $formatting_title; ?></th> 73 <td><fieldset><legend class="screen-reader-text"><span><?php echo $formatting_title; ?></span></legend> 78 74 <label for="use_smilies"> 79 75 <input name="use_smilies" type="checkbox" id="use_smilies" value="1" <?php checked( '1', get_option( 'use_smilies' ) ); ?> />
Note: See TracChangeset
for help on using the changeset viewer.