Changeset 10948
- Timestamp:
- 04/16/2009 05:45:11 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/upgrade.php
r10902 r10948 1186 1186 foreach($queries as $qry) { 1187 1187 if(preg_match("|CREATE TABLE ([^ ]*)|", $qry, $matches)) { 1188 $cqueries[ strtolower($matches[1])] = $qry;1188 $cqueries[trim( strtolower($matches[1]), '`' )] = $qry; 1189 1189 $for_update[$matches[1]] = 'Created table '.$matches[1]; 1190 1190 } … … 1225 1225 // Extract the field name 1226 1226 preg_match("|^([^ ]*)|", trim($fld), $fvals); 1227 $fieldname = $fvals[1];1227 $fieldname = trim( $fvals[1], '`' ); 1228 1228 1229 1229 // Verify the found field name
Note: See TracChangeset
for help on using the changeset viewer.