Make WordPress Core


Ignore:
Timestamp:
03/01/2013 04:28:40 PM (12 years ago)
Author:
ryan
Message:

Revert 23416, 23419, 23445 except for wp_reset_vars() changes. We are going a different direction with the slashing cleanup, so resetting to a clean slate. see #21767

File:
1 edited

Legend:

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

    r23416 r23554  
    2525        $search_string = '';
    2626        if ( ! empty( $_REQUEST['s'] ) ){
    27             $search_string = strtolower( wp_unslash( $_REQUEST['s'] ) );
     27            $search_string = strtolower( stripslashes( $_REQUEST['s'] ) );
    2828            $search_terms = array_unique( array_filter( array_map( 'trim', explode( ',', $search_string ) ) ) );
    2929        }
     
    6060        switch ( $tab ) {
    6161            case 'search':
    62                 $type = isset( $_REQUEST['type'] ) ? wp_unslash( $_REQUEST['type'] ) : 'term';
     62                $type = isset( $_REQUEST['type'] ) ? stripslashes( $_REQUEST['type'] ) : 'term';
    6363                switch ( $type ) {
    6464                    case 'tag':
Note: See TracChangeset for help on using the changeset viewer.