Don't autoload the uninstall_plugins option. fixes #16741.

git-svn-id: https://develop.svn.wordpress.org/trunk@20080 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Nacin
2012-03-02 20:13:35 +00:00
parent 58acedae74
commit 129754ed3d
3 changed files with 12 additions and 8 deletions

View File

@@ -470,6 +470,7 @@ function populate_options() {
'widget_categories' => array(),
'widget_text' => array(),
'widget_rss' => array(),
'uninstall_plugins' => array(),
// 2.8
'timezone_string' => $timezone_string,
@@ -501,7 +502,7 @@ function populate_options() {
}
// Set autoload to no for these options
$fat_options = array( 'moderation_keys', 'recently_edited', 'blacklist_keys' );
$fat_options = array( 'moderation_keys', 'recently_edited', 'blacklist_keys', 'uninstall_plugins' );
$existing_options = $wpdb->get_col("SELECT option_name FROM $wpdb->options");