[wp-trac] [WordPress Trac] #33470: wpdb class method get_table_from_query() malfunctions if table name contains a dash (-)

WordPress Trac noreply at wordpress.org
Mon Aug 24 00:18:52 UTC 2015


#33470: wpdb class method get_table_from_query() malfunctions if table name
contains a dash (-)
--------------------------+---------------------
 Reporter:  dustinbolton  |       Owner:  pento
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  4.3.1
Component:  Database      |     Version:  4.1.2
 Severity:  normal        |  Resolution:  fixed
 Keywords:  has-patch     |     Focuses:
--------------------------+---------------------
Changes (by pento):

 * owner:   => pento
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"33718"]:
 {{{
 #!CommitTicketReference repository="" revision="33718"
 WPDB: `get_table_from_query()` didn't find table names with hyphens in
 them.

 Props dustinbolton for the fix.

 Fixes #33470.
 }}}

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


More information about the wp-trac mailing list