[wp-trac] [WordPress Trac] #52506: Add escaping method for table names in SQL queries

WordPress Trac noreply at wordpress.org
Sun Jun 26 23:49:42 UTC 2022

#52506: Add escaping method for table names in SQL queries
 Reporter:  tellyworth                           |       Owner:
                                                 |  davidbaumwald
     Type:  defect (bug)                         |      Status:  closed
 Priority:  normal                               |   Milestone:  6.1
Component:  Database                             |     Version:
 Severity:  normal                               |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests early       |     Focuses:
  commit needs-dev-note needs-docs               |
Changes (by peterwilsoncc):

 * keywords:  has-patch has-unit-tests early commit needs-dev-note => has-
     patch has-unit-tests early commit needs-dev-note needs-docs
 * status:  reopened => closed
 * resolution:   => fixed


 @davidbaumwald I'm reclosing this as a dev-note is usually published
 against a closed ticket. An open ticket may lead to confusion as to
 whether or not the code is committed.

 I've also added `needs-docs` as the extra information section of
 [https://developer.wordpress.org/reference/classes/wpdb/ wpdb] will need
 an update to include these placeholders.

 Thanks so much for committing this.

Ticket URL: <https://core.trac.wordpress.org/ticket/52506#comment:35>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform

More information about the wp-trac mailing list