diff --git wp-admin/install-helper.php wp-admin/install-helper-new.php
index 42eb31e..b3e5ea2 100755
|
old
|
new
|
function maybe_drop_column($table_name, $column_name, $drop_ddl) { |
| 125 | 125 | $wpdb->query($drop_ddl); |
| 126 | 126 | |
| 127 | 127 | // We cannot directly tell that whether this succeeded! |
| 128 | | foreach ($wpdb->get_col("DESC $table_name",0) as $column ) { |
| 129 | | if ($column == $column_name) { |
| | 128 | foreach ($wpdb->get_col("DESC $table_name",0) as $recheck_column ) { |
| | 129 | if ($recheck_column == $column_name) { |
| 130 | 130 | return false; |
| 131 | 131 | } |
| 132 | 132 | } |