Make WordPress Core


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/class-wp-themes-list-table.php

    r17436 r17691  
    2525        $themes = get_allowed_themes();
    2626
    27         $search = !empty( $_REQUEST['s'] ) ? trim( stripslashes( $_REQUEST['s'] ) ) : '';
    28 
    29         if ( '' !== $search ) {
     27        if ( ! empty( $_REQUEST['s'] ) ) {
     28            $search = strtolower( stripslashes( $_REQUEST['s'] ) );
    3029            $this->search = array_merge( $this->search, array_filter( array_map( 'trim', explode( ',', $search ) ) ) );
    3130            $this->search = array_unique( $this->search );
Note: See TracChangeset for help on using the changeset viewer.