[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
Sun Aug 23 15:16:16 UTC 2015
#33470: wpdb class method get_table_from_query() malfunctions if table name
contains a dash (-)
--------------------------+--------------------
Reporter: dustinbolton | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.3.1
Component: Database | Version: 4.1.2
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
--------------------------+--------------------
Changes (by tyxla):
* keywords: has-patch needs-unit-tests => has-patch
Comment:
Patch works for me as well.
Attached a unit test for that case.
Some more different queries can be tested with dashed table names if you
guys feel this is necessary.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/33470#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list