WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #31679, comment 3


Ignore:
Timestamp:
03/18/2015 01:22:45 PM (7 years ago)
Author:
fulippo
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #31679, comment 3

    initial v1  
    1919}}}
    2020
    21 Could solve the problem.
     21Could solve the problem. Or, even better, changing line 1764 from
     22
     23{{{
     24$cqueries[] = "ALTER TABLE {$table} CHANGE COLUMN {$tablefield->Field} " . $cfields[strtolower($tablefield->Field)];
     25}}}
     26
     27to
     28
     29{{{
     30$cqueries[] = "ALTER TABLE {$table} CHANGE COLUMN `{$tablefield->Field}` " . $cfields[strtolower($tablefield->Field)];
     31}}}
     32
     33would prevent from changing $cfields keys