Changeset 11884 for trunk/wp-admin/includes/upgrade.php
- Timestamp:
- 08/27/2009 09:59:22 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/upgrade.php
r11883 r11884 1673 1673 $delete_options = $wpdb->get_col("SELECT o1.option_id FROM $wpdb->options AS o1 JOIN $wpdb->options AS o2 ON o2.option_name = o1.option_name AND o2.option_id > o1.option_id"); 1674 1674 if ( !empty($delete_options) ) { 1675 $delete_options = implode( "', '", $delete_options);1675 $delete_options = implode(',', $delete_options); 1676 1676 $wpdb->query("DELETE FROM $wpdb->options WHERE option_id IN ($delete_options)"); 1677 1677 }
Note: See TracChangeset
for help on using the changeset viewer.