diff --git a/src/wp-admin/includes/upgrade.php b/src/wp-admin/includes/upgrade.php index 5c29a1a832..4c40a62538 100644 --- a/src/wp-admin/includes/upgrade.php +++ b/src/wp-admin/includes/upgrade.php @@ -2183,9 +2183,6 @@ function dbDelta( $queries = '', $execute = true ) { // Separate field lines into an array. $flds = explode("\n", $qryline); - // todo: Remove this? - //echo "
\n".print_r(strtolower($table), true).":\n".print_r($cqueries, true)."

"; - // For every field line specified in the query. foreach ($flds as $fld) { @@ -2251,8 +2248,6 @@ function dbDelta( $queries = '', $execute = true ) { } // Get the default value from the array. - // todo: Remove this? - //echo "{$cfields[strtolower($tablefield->Field)]}
"; if ( preg_match( "| DEFAULT '(.*?)'|i", $cfields[ $tablefield_field_lowercased ], $matches ) ) { $default_value = $matches[1]; if ($tablefield->Default != $default_value) { @@ -2336,12 +2331,8 @@ function dbDelta( $queries = '', $execute = true ) { if ( ! ( ( $aindex = array_search( $index_string, $indices ) ) === false ) ) { unset( $indices[ $aindex ] ); break; - // todo: Remove this? - //echo "
{$table}:
Found index:".$index_string."
\n"; } } - // todo: Remove this? - //else echo "
{$table}:
Did not find index:".$index_string."
".print_r($indices, true)."
\n"; } } @@ -2359,8 +2350,6 @@ function dbDelta( $queries = '', $execute = true ) { $allqueries = array_merge($cqueries, $iqueries); if ($execute) { foreach ($allqueries as $query) { - // todo: Remove this? - //echo "
".print_r($query, true)."
\n"; $wpdb->query($query); } }