Changeset 19935 for trunk/wp-admin/includes/upgrade.php
- Timestamp:
- 02/17/2012 12:02:42 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/upgrade.php
r19799 r19935 1360 1360 */ 1361 1361 function maybe_add_column($table_name, $column_name, $create_ddl) { 1362 global $wpdb , $debug;1362 global $wpdb; 1363 1363 foreach ($wpdb->get_col("DESC $table_name", 0) as $column ) { 1364 if ($debug) echo("checking $column == $column_name<br />");1365 1364 if ($column == $column_name) { 1366 1365 return true;
Note: See TracChangeset
for help on using the changeset viewer.