Changeset 60805 for trunk/src/wp-admin/network/settings.php
- Timestamp:
- 09/28/2025 10:36:30 PM (2 months ago)
- File:
-
- 1 edited
-
trunk/src/wp-admin/network/settings.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
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 ) {
Note: See TracChangeset
for help on using the changeset viewer.