Ticket #15079: themes.patch
| File themes.patch, 1.2 KB (added by , 15 years ago) |
|---|
-
wp-admin/themes.php
142 142 143 143 <br class="clear"/> 144 144 145 <div id="filters" <?php if ( $tpage != 'filter' ) echo ' style="display: none"' ?>>145 <div id="filters" <?php if ( ! isset ($tpage) || $tpage != 'filter' ) echo ' style="display: none"' ?>> 146 146 <?php $feature_list = get_theme_feature_list(); ?> 147 147 <div class="feature-filter"> 148 148 <p class="install-help"><?php _e('Theme filters') ?></p> … … 161 161 $feature = esc_attr($feature); 162 162 ?> 163 163 <li> 164 <input type="checkbox" name="features[<?php echo $key; ?>]" id="feature-id-<?php echo $key; ?>" value="<?php echo $key; ?>" <?php if ( i n_array( $key, $checked_features ) ) echo ' checked="checked"' ?>/>164 <input type="checkbox" name="features[<?php echo $key; ?>]" id="feature-id-<?php echo $key; ?>" value="<?php echo $key; ?>" <?php if ( isset ( $checked_features ) && in_array( $key, $checked_features ) ) echo ' checked="checked"' ?>/> 165 165 <label for="feature-id-<?php echo $key; ?>"><?php echo $feature_name; ?></label> 166 166 </li> 167 167 <?php endforeach; ?>