Changeset 19857
- Timestamp:
- 02/07/2012 09:06:52 PM (13 years ago)
- Location:
- trunk/wp-admin/includes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/class-wp-theme-install-list-table.php
r19712 r19857 67 67 } 68 68 69 if ( !empty( $_ POST['features'] ) ) {70 $terms = $_ POST['features'];69 if ( !empty( $_REQUEST['features'] ) ) { 70 $terms = $_REQUEST['features']; 71 71 $terms = array_map( 'trim', $terms ); 72 72 $terms = array_map( 'sanitize_title_with_dashes', $terms ); -
trunk/wp-admin/includes/theme-install.php
r19840 r19857 78 78 ?> 79 79 <h4><?php _e('Feature Filter') ?></h4> 80 <form method="post" action="<?php echo self_admin_url( 'theme-install.php?tab=search' ); ?>">81 80 <p class="install-help"><?php _e('Find a theme based on specific features') ?></p> 81 82 <form method="get" action=""> 83 <input type="hidden" name="tab" value="search" /> 82 84 <?php 83 85 $feature_list = get_theme_feature_list( ); … … 95 97 96 98 <li> 97 <input type="checkbox" name="features[ <?php echo $feature; ?>]" id="feature-id-<?php echo $feature; ?>" value="<?php echo $feature; ?>" />99 <input type="checkbox" name="features[]" id="feature-id-<?php echo $feature; ?>" value="<?php echo $feature; ?>" /> 98 100 <label for="feature-id-<?php echo $feature; ?>"><?php echo $feature_name; ?></label> 99 101 </li>
Note: See TracChangeset
for help on using the changeset viewer.