Make WordPress Core

Changes between Version 1 and Version 2 of Ticket #57149, comment 1


Ignore:
Timestamp:
11/21/2022 02:05:17 AM (3 years ago)
Author:
johnjamesjacoby
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #57149, comment 1

    v1 v2  
    4343
    4444Conclusions:
    45   1. Table names & Columns in `SHOW ... LIKE %s` queries
     45  1. Table names & Columns in `SHOW ... LIKE %s` queries...
    4646    * ''most likely'' should not use `$wpdb->esc_like()`
    4747    * ''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...
    4950    * ...causing subsequent `$wpdb->get_var()` queries to fail...
    5051    * ...because a table name like `wp_users` gets: