Delete old magpie cache options. Props Denis-de-Bernardy. fixes #10592

git-svn-id: http://svn.automattic.com/wordpress/trunk@12210 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2009-11-18 22:04:07 +00:00
parent 47001b4c43
commit 4615f5b809
2 changed files with 4 additions and 1 deletions

View File

@ -356,6 +356,9 @@ function populate_options() {
'page_uris', 'update_core', 'update_plugins', 'update_themes', 'doing_cron', 'random_seed', 'rss_excerpt_length');
foreach ($unusedoptions as $option)
delete_option($option);
// delete obsolete magpie stuff
$wpdb->query("DELETE FROM $wpdb->options WHERE option_name REGEXP '^rss_[0-9a-f]{32}(_ts)?$'");
}
/**

View File

@ -15,7 +15,7 @@ $wp_version = '2.9-beta-1';
*
* @global int $wp_db_version
*/
$wp_db_version = 12136;
$wp_db_version = 12208;
/**
* Holds the TinyMCE version