Changeset 37085
- Timestamp:
- 03/27/2016 06:24:45 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/wp-db.php
r36997 r37085 1275 1275 * $find = 'only 43% of planets'; 1276 1276 * $like = $wild . $wpdb->esc_like( $find ) . $wild; 1277 * $sql = $wpdb->prepare( "SELECT * FROM $wpdb->posts WHERE post_content LIKE %s", $like );1277 * $sql = $wpdb->prepare( "SELECT * FROM $wpdb->posts WHERE post_content LIKE '%s'", $like ); 1278 1278 * 1279 1279 * Example Escape Chain:
Note: See TracChangeset
for help on using the changeset viewer.