Changeset 41700
- Timestamp:
- 10/03/2017 04:39:08 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-site-query.php
r41686 r41700 448 448 if ( is_numeric( $this->query_vars['archived'] ) ) { 449 449 $archived = absint( $this->query_vars['archived'] ); 450 $this->sql_clauses['where']['archived'] = $wpdb->prepare( "archived = % d ", $archived);450 $this->sql_clauses['where']['archived'] = $wpdb->prepare( "archived = %s ", absint( $archived ) ); 451 451 } 452 452
Note: See TracChangeset
for help on using the changeset viewer.