WordPress.org

Make WordPress Core

Ticket #10592: 10592.diff

File 10592.diff, 590 bytes (added by Denis-de-Bernardy, 9 years ago)
  • wp-admin/includes/schema.php

     
    356356                'page_uris', 'update_core', 'update_plugins', 'update_themes', 'doing_cron', 'random_seed', 'rss_excerpt_length');
    357357        foreach ($unusedoptions as $option)
    358358                delete_option($option);
     359       
     360        // delete obsolete magpie stuff
     361        $wpdb->query("DELETE FROM $wpdb->options WHERE option_name REGEXP '^rss_[0-9a-f]{32}$' OR option_name REGEXP '^rss_[0-9a-f]{32}_ts$'");
    359362}
    360363
    361364/**