Changeset 23563 for trunk/wp-admin/includes/deprecated.php
- Timestamp:
- 03/01/2013 05:00:25 PM (13 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/includes/deprecated.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/deprecated.php
r23554 r23563 473 473 _deprecated_function( __FUNCTION__, '3.1', 'WP_User_Query' ); 474 474 475 $this->search_term = stripslashes( $search_term );475 $this->search_term = wp_unslash( $search_term ); 476 476 $this->raw_page = ( '' == $page ) ? false : (int) $page; 477 477 $this->page = (int) ( '' == $page ) ? 1 : $page; … … 552 552 */ 553 553 function prepare_vars_for_template_usage() { 554 $this->search_term = stripslashes($this->search_term); // done with DB, from now on we want slashes gone554 $this->search_term = wp_unslash($this->search_term); // done with DB, from now on we want slashes gone 555 555 } 556 556
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)