Changeset 37533
- Timestamp:
- 05/23/2016 03:03:18 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/upgrade.php
r37532 r37533 2184 2184 $flds = explode("\n", $qryline); 2185 2185 2186 // todo: Remove this?2187 //echo "<hr/><pre>\n".print_r(strtolower($table), true).":\n".print_r($cqueries, true)."</pre><hr/>";2188 2189 2186 // For every field line specified in the query. 2190 2187 foreach ($flds as $fld) { … … 2252 2249 2253 2250 // Get the default value from the array. 2254 // todo: Remove this?2255 //echo "{$cfields[strtolower($tablefield->Field)]}<br>";2256 2251 if ( preg_match( "| DEFAULT '(.*?)'|i", $cfields[ $tablefield_field_lowercased ], $matches ) ) { 2257 2252 $default_value = $matches[1]; … … 2337 2332 unset( $indices[ $aindex ] ); 2338 2333 break; 2339 // todo: Remove this?2340 //echo "<pre style=\"border:1px solid #ccc;margin-top:5px;\">{$table}:<br />Found index:".$index_string."</pre>\n";2341 2334 } 2342 2335 } 2343 // todo: Remove this?2344 //else echo "<pre style=\"border:1px solid #ccc;margin-top:5px;\">{$table}:<br /><b>Did not find index:</b>".$index_string."<br />".print_r($indices, true)."</pre>\n";2345 2336 } 2346 2337 } … … 2360 2351 if ($execute) { 2361 2352 foreach ($allqueries as $query) { 2362 // todo: Remove this?2363 //echo "<pre style=\"border:1px solid #ccc;margin-top:5px;\">".print_r($query, true)."</pre>\n";2364 2353 $wpdb->query($query); 2365 2354 }
Note: See TracChangeset
for help on using the changeset viewer.