Changeset 39662 for trunk/src/wp-includes/class-wp-tax-query.php
- Timestamp:
- 01/02/2017 07:38:07 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-tax-query.php
r38768 r39662 624 624 * context is 'db'. 625 625 */ 626 $term = "'" . esc_sql( sanitize_term_field( $query['field'], $term, 0, $query['taxonomy'], 'db' ) ) . "'"; 626 $clean_term = sanitize_term_field( $query['field'], $term, 0, $query['taxonomy'], 'db' ); 627 628 // Match sanitization in wp_insert_term(). 629 $clean_term = wp_unslash( $clean_term ); 630 631 $term = "'" . esc_sql( $clean_term ) . "'"; 627 632 } 628 633
Note: See TracChangeset
for help on using the changeset viewer.