From 8fcdf9a97956befa8988692f607f1a0e65c331f3 Mon Sep 17 00:00:00 2001 From: nacin Date: Fri, 11 Jun 2010 03:03:17 +0000 Subject: [PATCH] dbDelta needs all the comments it can get. Restore the one removed in [15210]. git-svn-id: http://svn.automattic.com/wordpress/trunk@15211 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/upgrade.php | 1 + 1 file changed, 1 insertion(+) diff --git a/wp-admin/includes/upgrade.php b/wp-admin/includes/upgrade.php index 09063c209b..315efcbbed 100644 --- a/wp-admin/includes/upgrade.php +++ b/wp-admin/includes/upgrade.php @@ -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);