dbDelta needs all the comments it can get. Restore the one removed in [15210].
git-svn-id: https://develop.svn.wordpress.org/trunk@15211 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
58951fbf39
commit
7a7a294de0
@ -1401,6 +1401,7 @@ function dbDelta($queries, $execute = true) {
|
||||
foreach ($tables as $table) {
|
||||
// If a table query exists for the database table...
|
||||
if ( array_key_exists(strtolower($table), $cqueries) ) {
|
||||
// Clear the field and index arrays
|
||||
$cfields = $indices = array();
|
||||
// Get all of the field names in the query from between the parens
|
||||
preg_match("|\((.*)\)|ms", $cqueries[strtolower($table)], $match2);
|
||||
|
Loading…
Reference in New Issue
Block a user