Changeset 16999 for trunk/wp-includes/canonical.php
- Timestamp:
- 12/16/2010 02:22:41 PM (15 years ago)
- File:
-
- 1 edited
-
trunk/wp-includes/canonical.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/canonical.php
r16928 r16999 386 386 return false; 387 387 388 $where = $wpdb->prepare("post_name LIKE %s", get_query_var('name') . '%');388 $where = $wpdb->prepare("post_name LIKE %s", like_escape( get_query_var('name') ) . '%'); 389 389 390 390 // 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.