Ticket #8014 (closed defect (bug): fixed)
dbDelta Breaks on backtick
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | high | Milestone: | 2.8 |
| Component: | General | Version: | 2.7 |
| Severity: | major | Keywords: | has-patch tested needs-unittests |
| Cc: |
Description
backticks (`), which I think are best practice for MySQL, seem to kill dbDelta. It matches the table name and all the fields with the backticks still on them, then tries to match them to the database versions (`wp_mytable` != wp_mytable).
Attachments
Change History
AaronCampbell — 3 years ago
-
attachment
8014.001.diff
added
- Milestone changed from 2.7 to 2.8
Not sure we should change this at this late stage in 2.7
Leave this for early 2.8
Note: See
TracTickets for help on using
tickets.

Trims backticks from table and field names