Changeset 16123
- Timestamp:
- 10/31/2010 11:26:38 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/list-table-ms-themes.php
r16117 r16123 55 55 'upgrade' => array() 56 56 ); 57 57 58 58 $allowed_themes = get_site_allowed_themes(); 59 59 $current = get_site_transient( 'update_themes' ); … … 76 76 77 77 if ( $s ) { 78 $status = 'search'; echo "opopop";78 $status = 'search'; 79 79 $themes['search'] = array_filter( $themes['all'], array( $this, '_search_callback' ) ); 80 80 } … … 114 114 if ( is_null( $term ) ) 115 115 $term = stripslashes( $_REQUEST['s'] ); 116 117 foreach ( $theme as $key->$theme ) 118 if ( stripos( $key, $term ) !== false ) 116 117 $search_fields = array( 'Name', 'Title', 'Description', 'Author', 'Author Name', 'Author URI', 'Template', 'Stylesheet' ); 118 foreach ( $search_fields as $field ) 119 if ( stripos( $theme[ $field ], $term ) !== false ) 119 120 return true; 120 121
Note: See TracChangeset
for help on using the changeset viewer.