Make WordPress Core


Ignore:
Timestamp:
03/01/2013 04:28:40 PM (11 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-terms-list-table.php

    r23416 r23554  
    5353        }
    5454
    55         $search = !empty( $_REQUEST['s'] ) ? trim( wp_unslash( $_REQUEST['s'] ) ) : '';
     55        $search = !empty( $_REQUEST['s'] ) ? trim( stripslashes( $_REQUEST['s'] ) ) : '';
    5656
    5757        $args = array(
     
    6262
    6363        if ( !empty( $_REQUEST['orderby'] ) )
    64             $args['orderby'] = trim( wp_unslash( $_REQUEST['orderby'] ) );
     64            $args['orderby'] = trim( stripslashes( $_REQUEST['orderby'] ) );
    6565
    6666        if ( !empty( $_REQUEST['order'] ) )
    67             $args['order'] = trim( wp_unslash( $_REQUEST['order'] ) );
     67            $args['order'] = trim( stripslashes( $_REQUEST['order'] ) );
    6868
    6969        $this->callback_args = $args;
Note: See TracChangeset for help on using the changeset viewer.