Delete old magpie cache options. Props Denis-de-Bernardy. fixes #10592
git-svn-id: https://develop.svn.wordpress.org/trunk@12210 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
161beb7f61
commit
363c885bd4
@ -356,6 +356,9 @@ function populate_options() {
|
|||||||
'page_uris', 'update_core', 'update_plugins', 'update_themes', 'doing_cron', 'random_seed', 'rss_excerpt_length');
|
'page_uris', 'update_core', 'update_plugins', 'update_themes', 'doing_cron', 'random_seed', 'rss_excerpt_length');
|
||||||
foreach ($unusedoptions as $option)
|
foreach ($unusedoptions as $option)
|
||||||
delete_option($option);
|
delete_option($option);
|
||||||
|
|
||||||
|
// delete obsolete magpie stuff
|
||||||
|
$wpdb->query("DELETE FROM $wpdb->options WHERE option_name REGEXP '^rss_[0-9a-f]{32}(_ts)?$'");
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -15,7 +15,7 @@ $wp_version = '2.9-beta-1';
|
|||||||
*
|
*
|
||||||
* @global int $wp_db_version
|
* @global int $wp_db_version
|
||||||
*/
|
*/
|
||||||
$wp_db_version = 12136;
|
$wp_db_version = 12208;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the TinyMCE version
|
* Holds the TinyMCE version
|
||||||
|
Loading…
x
Reference in New Issue
Block a user