WordPress.org

Make WordPress Core

Changeset 11884


Ignore:
Timestamp:
08/27/09 09:59:22 (6 years ago)
Author:
azaozz
Message:

Fix quotes, props Denis-de-Bernardy, see #2699

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/upgrade.php

    r11883 r11884  
    16731673    $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"); 
    16741674    if ( !empty($delete_options) ) { 
    1675         $delete_options = implode("', '", $delete_options); 
     1675        $delete_options = implode(',', $delete_options); 
    16761676        $wpdb->query("DELETE FROM $wpdb->options WHERE option_id IN ($delete_options)"); 
    16771677    } 
Note: See TracChangeset for help on using the changeset viewer.