WordPress.org

Make WordPress Core

Changeset 23577


Ignore:
Timestamp:
03/01/2013 05:57:49 PM (6 years ago)
Author:
nacin
Message:

Remove an unslash in the deprecated WP_User_Search, as search_term is already unslashed in the constructor. see #21767.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/deprecated.php

    r23563 r23577  
    480480        $this->prepare_query();
    481481        $this->query();
    482         $this->prepare_vars_for_template_usage();
    483482        $this->do_paging();
    484483    }
     
    551550     * @access public
    552551     */
    553     function prepare_vars_for_template_usage() {
    554         $this->search_term = wp_unslash($this->search_term); // done with DB, from now on we want slashes gone
    555     }
     552    function prepare_vars_for_template_usage() {}
    556553
    557554    /**
Note: See TracChangeset for help on using the changeset viewer.