Changes between Version 1 and Version 2 of Ticket #57149, comment 1
- Timestamp:
- 11/21/2022 02:05:17 AM (3 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #57149, comment 1
v1 v2 43 43 44 44 Conclusions: 45 1. Table names & Columns in `SHOW ... LIKE %s` queries 45 1. Table names & Columns in `SHOW ... LIKE %s` queries... 46 46 * ''most likely'' should not use `$wpdb->esc_like()` 47 47 * ''most likely'' should not use `$wpdb->prepare()` 48 1. Otherwise, they are mangled with unnecessary slashes 48 * ...because it is not absolutely certain that "`_`" is intended to be wild or literal 49 1. Otherwise, they are mangled with unnecessary slashes... 49 50 * ...causing subsequent `$wpdb->get_var()` queries to fail... 50 51 * ...because a table name like `wp_users` gets: