Changeset 51923
- Timestamp:
- 10/20/2021 07:17:00 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/theme-install.php
r51475 r51923 222 222 $feature_list = get_theme_feature_list( false ); 223 223 224 foreach ( $feature_list as $feature_ name=> $features ) {224 foreach ( $feature_list as $feature_group => $features ) { 225 225 echo '<fieldset class="filter-group">'; 226 $feature_name = esc_html( $feature_name ); 227 echo '<legend>' . $feature_name . '</legend>'; 226 echo '<legend>' . esc_html( $feature_group ) . '</legend>'; 228 227 echo '<div class="filter-group-feature">'; 229 228 foreach ( $features as $feature => $feature_name ) { 230 229 $feature = esc_attr( $feature ); 231 230 echo '<input type="checkbox" id="filter-id-' . $feature . '" value="' . $feature . '" /> '; 232 echo '<label for="filter-id-' . $feature . '">' . $feature_name. '</label>';231 echo '<label for="filter-id-' . $feature . '">' . esc_html( $feature_name ) . '</label>'; 233 232 } 234 233 echo '</div>';
Note: See TracChangeset
for help on using the changeset viewer.