mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-01 03:04:34 +00:00
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:
@@ -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");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user