Changeset 24065
- Timestamp:
- 04/22/2013 10:00:50 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/upgrade.php
r23949 r24065 1567 1567 // Get the default value from the array 1568 1568 //echo "{$cfields[strtolower($tablefield->Field)]}<br>"; 1569 if (preg_match("| DEFAULT '(.* )'|i", $cfields[strtolower($tablefield->Field)], $matches)) {1569 if (preg_match("| DEFAULT '(.*?)'|i", $cfields[strtolower($tablefield->Field)], $matches)) { 1570 1570 $default_value = $matches[1]; 1571 1571 if ($tablefield->Default != $default_value) {
Note: See TracChangeset
for help on using the changeset viewer.