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

WordPress Trac noreply at wordpress.org
Thu Jan 12 23:29:18 UTC 2023


#52506: Add escaping method for table names in SQL queries
-------------------------------------------------+-------------------------
 Reporter:  tellyworth                           |       Owner:
                                                 |  davidbaumwald
     Type:  defect (bug)                         |      Status:  reopened
 Priority:  normal                               |   Milestone:  6.2
Component:  Database                             |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  has-unit-tests early needs-docs      |     Focuses:
  has-patch needs-testing needs-dev-note         |  performance
-------------------------------------------------+-------------------------

Comment (by craigfrancis):

 Thanks @audrasjb, I’d still like to get this in 6.2, it’s basically the
 same as last time, just with the small change as noted in [#52 comment 52]
 (ref [https://github.com/WordPress/wordpress-develop/pull/3724/files#diff-
 101f4101613ae810fc8e54675d9437f9aed83f89dfe2bd3068b2ed2964eece03R1599 line
 1599]), which matches what the original RegEx did.

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


More information about the wp-trac mailing list