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

WordPress Trac noreply at wordpress.org
Tue Jun 28 11:25:37 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               |
-------------------------------------------------+-------------------------

Comment (by SergeyBiryukov):

 In [changeset:"53584" 53584]:
 {{{
 #!CommitTicketReference repository="" revision="53584"
 Docs: Adjust some DocBlocks in `wpdb` per the documentation standards.

 Includes:
 * Wrapping long single-line comments to multi-line for better readability.
 * Formatting code blocks to display correctly on the Code Reference.
 * Other minor edits for consistency.

 This applies to:
 * `wpdb::$allow_unsafe_unquoted_parameters`
 * `wpdb::escape_identifier()`
 * `wpdb::_escape_identifier_value()`
 * `wpdb::prepare()`
 * `wpdb::has_cap()`

 Follow-up to [53575].

 See #52506, #55646.
 }}}

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


More information about the wp-trac mailing list