Remove vestiges of what_to_show. Props filosofo. fixes #9815

git-svn-id: https://develop.svn.wordpress.org/trunk@11318 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren
2009-05-13 22:28:56 +00:00
parent 765f9798d4
commit fc80cdec6b
9 changed files with 5 additions and 13 deletions
-4
View File
@@ -527,10 +527,6 @@ function upgrade_130() {
}
}
// The "paged" option for what_to_show is no more.
if ($wpdb->get_var("SELECT option_value FROM $wpdb->options WHERE option_name = 'what_to_show'") == 'paged')
$wpdb->update( $wpdb->options, array('option_value' => 'posts'), array('option_name' => 'what_to_show') );
$active_plugins = __get_option('active_plugins');
// If plugins are not stored in an array, they're stored in the old