mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-12-06 20:58:55 +00:00
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:
@@ -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)?$'");
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user