Changeset 23554 for trunk/wp-admin/includes/deprecated.php
- Timestamp:
- 03/01/2013 04:28:40 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/deprecated.php
r23437 r23554 473 473 _deprecated_function( __FUNCTION__, '3.1', 'WP_User_Query' ); 474 474 475 $this->search_term = $search_term;475 $this->search_term = stripslashes( $search_term ); 476 476 $this->raw_page = ( '' == $page ) ? false : (int) $page; 477 477 $this->page = (int) ( '' == $page ) ? 1 : $page; … … 480 480 $this->prepare_query(); 481 481 $this->query(); 482 $this->prepare_vars_for_template_usage(); 482 483 $this->do_paging(); 483 484 } … … 550 551 * @access public 551 552 */ 552 function prepare_vars_for_template_usage() {} 553 function prepare_vars_for_template_usage() { 554 $this->search_term = stripslashes($this->search_term); // done with DB, from now on we want slashes gone 555 } 553 556 554 557 /**
Note: See TracChangeset
for help on using the changeset viewer.