[wp-trac] [WordPress Trac] #31679: dbDelta generates wrong SQL on ALTER TABLE with columns containing hyphens in name
WordPress Trac
noreply at wordpress.org
Wed Mar 18 12:48:43 UTC 2015
#31679: dbDelta generates wrong SQL on ALTER TABLE with columns containing hyphens
in name
--------------------------+------------------------------
Reporter: fulippo | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Plugins | Version: 4.1.1
Severity: normal | Resolution:
Keywords: | Focuses:
--------------------------+------------------------------
Comment (by jdgrimes):
Related: #30655, #20263
`dbDelta()` just doesn't support backticks. I think the function could
really use a complete rewrite. (I'd even be willing to undertake it.)
--
Ticket URL: <https://core.trac.wordpress.org/ticket/31679#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list