Changeset 31517 for trunk/src/wp-admin/network/site-settings.php
- Timestamp:
- 02/23/2015 02:28:41 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/network/site-settings.php
r28712 r31517 139 139 ?> 140 140 <tr class="form-field"> 141 <th scope="row">< ?php echo ucwords( str_replace( "_", " ", $option->option_name ) ) ?></th>141 <th scope="row"><label for="<?php echo esc_attr( $option->option_name ) ?>"><?php echo ucwords( str_replace( "_", " ", $option->option_name ) ) ?></label></th> 142 142 <td><textarea class="<?php echo $class; ?>" rows="5" cols="40" name="option[<?php echo esc_attr( $option->option_name ) ?>]" id="<?php echo esc_attr( $option->option_name ) ?>"<?php disabled( $disabled ) ?>><?php echo esc_textarea( $option->option_value ) ?></textarea></td> 143 143 </tr> … … 146 146 ?> 147 147 <tr class="form-field"> 148 <th scope="row">< ?php echo esc_html( ucwords( str_replace( "_", " ", $option->option_name ) ) ); ?></th>148 <th scope="row"><label for="<?php echo esc_attr( $option->option_name ) ?>"><?php echo esc_html( ucwords( str_replace( "_", " ", $option->option_name ) ) ); ?></label></th> 149 149 <?php if ( $is_main_site && in_array( $option->option_name, array( 'siteurl', 'home' ) ) ) { ?> 150 150 <td><code><?php echo esc_html( $option->option_value ) ?></code></td>
Note: See TracChangeset
for help on using the changeset viewer.