WordPress.org

Make WordPress Core


Ignore:
Timestamp:
10/14/2010 06:37:08 PM (11 years ago)
Author:
ryan
Message:

Hook up theme filter. see #14936

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/themes.php

    r15761 r15807  
    143143<br class="clear"/>
    144144
    145 <div id="filters" <?php if ( ! isset( $tpage ) || $tpage != 'filter' ) echo ' style="display: none"' ?>>
     145<div id="filters" style="display: none;">
    146146<?php $feature_list = get_theme_feature_list(); ?>
    147147    <div class="feature-filter">
     
    161161                        ?>
    162162                <li>
    163                     <input type="checkbox" name="features[<?php echo $key; ?>]" id="feature-id-<?php echo $key; ?>" value="<?php echo $key; ?>" <?php checked( isset( $checked_features ) && in_array( $key, $checked_features ) ); ?>/>
     163                    <input type="checkbox" name="features[<?php echo $key; ?>]" id="feature-id-<?php echo $key; ?>" value="<?php echo $key; ?>" <?php checked( in_array( $key, $wp_list_table->features ) ); ?>/>
    164164                    <label for="feature-id-<?php echo $key; ?>"><?php echo $feature_name; ?></label>
    165165                </li>
Note: See TracChangeset for help on using the changeset viewer.