Changeset 41628 for trunk/src/wp-includes/wp-db.php
- Timestamp:
- 09/28/2017 04:31:05 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/wp-db.php
r41496 r41628 1268 1268 * $find = 'only 43% of planets'; 1269 1269 * $like = $wild . $wpdb->esc_like( $find ) . $wild; 1270 * $sql = $wpdb->prepare( "SELECT * FROM $wpdb->posts WHERE post_content LIKE '%s'", $like );1270 * $sql = $wpdb->prepare( "SELECT * FROM $wpdb->posts WHERE post_content LIKE %s", $like ); 1271 1271 * 1272 1272 * Example Escape Chain:
Note: See TracChangeset
for help on using the changeset viewer.