Changeset 28712 for trunk/src/wp-includes/canonical.php
- Timestamp:
- 06/10/2014 12:43:32 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/canonical.php
r28610 r28712 505 505 506 506 if ( get_query_var('name') ) { 507 $where = $wpdb->prepare("post_name LIKE %s", like_escape( get_query_var('name') ) . '%');507 $where = $wpdb->prepare("post_name LIKE %s", $wpdb->esc_like( get_query_var('name') ) . '%'); 508 508 509 509 // if any of post_type, year, monthnum, or day are set, use them to refine the query
Note: See TracChangeset
for help on using the changeset viewer.