Changeset 15807 for trunk/wp-admin/includes/default-list-tables.php
- Timestamp:
- 10/14/2010 06:37:08 PM (16 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/includes/default-list-tables.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/default-list-tables.php
r15801 r15807 3871 3871 wp_die( __( 'Cheatin’ uh?' ) ); 3872 3872 } 3873 3873 3874 3874 function prepare_items() { 3875 3875 global $ct; … … 3881 3881 $search = !empty( $_REQUEST['s'] ) ? trim( stripslashes( $_REQUEST['s'] ) ) : ''; 3882 3882 3883 if ( '' !== $ this->search ) {3883 if ( '' !== $search ) { 3884 3884 $this->search = array_merge( $this->search, array_filter( array_map( 'trim', explode( ',', $search ) ) ) ); 3885 3885 $this->search = array_unique( $this->search ); 3886 } 3887 3888 if ( !empty( $_REQUEST['features'] ) ) { 3889 $this->features = $_REQUEST['features']; 3890 $this->features = array_map( 'trim', $this->features ); 3891 $this->features = array_map( 'sanitize_title_with_dashes', $this->features ); 3892 $this->features = array_unique( $this->features ); 3893 } 3894 3895 if ( $this->search || $this->features ) { 3886 3896 foreach ( $themes as $key => $theme ) { 3887 3897 if ( !$this->search_theme( $theme ) )
Note: See TracChangeset
for help on using the changeset viewer.