[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:20:57 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:  reopened
 Priority:  normal                        |   Milestone:  4.3.1
Component:  Database                      |     Version:  4.1.2
 Severity:  normal                        |  Resolution:
 Keywords:  has-patch commit fixed-major  |     Focuses:
------------------------------------------+-----------------------
Changes (by pento):

 * keywords:  has-patch => has-patch commit fixed-major
 * status:  closed => reopened
 * resolution:  fixed =>


Comment:

 Re-opened for backporting.

 Thanks for the patch, @tyxla. I ended up reworking an existing test to
 test any kind of table name we want to sanity check.

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


More information about the wp-trac mailing list