Changeset 55276 for trunk/src/wp-admin/options-general.php
- Timestamp:
- 02/07/2023 05:08:26 PM (22 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/options-general.php
r54689 r55276 149 149 <tr> 150 150 <th scope="row"><?php _e( 'Membership' ); ?></th> 151 <td> <fieldset><legend class="screen-reader-text"><span><?php _e( 'Membership' ); ?></span></legend><label for="users_can_register"> 151 <td> <fieldset><legend class="screen-reader-text"><span> 152 <?php 153 /* translators: Hidden accessibility text. */ 154 _e( 'Membership' ); 155 ?> 156 </span></legend><label for="users_can_register"> 152 157 <input name="users_can_register" type="checkbox" id="users_can_register" value="1" <?php checked( '1', get_option( 'users_can_register' ) ); ?> /> 153 158 <?php _e( 'Anyone can register' ); ?></label> … … 315 320 <th scope="row"><?php _e( 'Date Format' ); ?></th> 316 321 <td> 317 <fieldset><legend class="screen-reader-text"><span><?php _e( 'Date Format' ); ?></span></legend> 322 <fieldset><legend class="screen-reader-text"><span> 323 <?php 324 /* translators: Hidden accessibility text. */ 325 _e( 'Date Format' ); 326 ?> 327 </span></legend> 318 328 <?php 319 329 /** … … 340 350 echo '<label><input type="radio" name="date_format" id="date_format_custom_radio" value="\c\u\s\t\o\m"'; 341 351 checked( $custom ); 342 echo '/> <span class="date-time-text date-time-custom-text">' . __( 'Custom:' ) . '<span class="screen-reader-text"> ' . __( 'enter a custom date format in the following field' ) . '</span></span></label>' . 343 '<label for="date_format_custom" class="screen-reader-text">' . __( 'Custom date format:' ) . '</label>' . 352 echo '/> <span class="date-time-text date-time-custom-text">' . __( 'Custom:' ) . '<span class="screen-reader-text"> ' . 353 /* translators: Hidden accessibility text. */ 354 __( 'enter a custom date format in the following field' ) . 355 '</span></span></label>' . 356 '<label for="date_format_custom" class="screen-reader-text">' . 357 /* translators: Hidden accessibility text. */ 358 __( 'Custom date format:' ) . 359 '</label>' . 344 360 '<input type="text" name="date_format_custom" id="date_format_custom" value="' . esc_attr( get_option( 'date_format' ) ) . '" class="small-text" />' . 345 361 '<br />' . … … 353 369 <th scope="row"><?php _e( 'Time Format' ); ?></th> 354 370 <td> 355 <fieldset><legend class="screen-reader-text"><span><?php _e( 'Time Format' ); ?></span></legend> 371 <fieldset><legend class="screen-reader-text"><span> 372 <?php 373 /* translators: Hidden accessibility text. */ 374 _e( 'Time Format' ); 375 ?> 376 </span></legend> 356 377 <?php 357 378 /** … … 377 398 echo '<label><input type="radio" name="time_format" id="time_format_custom_radio" value="\c\u\s\t\o\m"'; 378 399 checked( $custom ); 379 echo '/> <span class="date-time-text date-time-custom-text">' . __( 'Custom:' ) . '<span class="screen-reader-text"> ' . __( 'enter a custom time format in the following field' ) . '</span></span></label>' . 380 '<label for="time_format_custom" class="screen-reader-text">' . __( 'Custom time format:' ) . '</label>' . 400 echo '/> <span class="date-time-text date-time-custom-text">' . __( 'Custom:' ) . '<span class="screen-reader-text"> ' . 401 /* translators: Hidden accessibility text. */ 402 __( 'enter a custom time format in the following field' ) . 403 '</span></span></label>' . 404 '<label for="time_format_custom" class="screen-reader-text">' . 405 /* translators: Hidden accessibility text. */ 406 __( 'Custom time format:' ) . 407 '</label>' . 381 408 '<input type="text" name="time_format_custom" id="time_format_custom" value="' . esc_attr( get_option( 'time_format' ) ) . '" class="small-text" />' . 382 409 '<br />' .
Note: See TracChangeset
for help on using the changeset viewer.