plugin updates
This commit is contained in:
@@ -2610,7 +2610,7 @@ function deactivated_plugins_notice() {
|
||||
|
||||
if ( false === $blog_deactivated_plugins ) {
|
||||
// Option not in database, add an empty array to avoid extra DB queries on subsequent loads.
|
||||
update_option( 'wp_force_deactivated_plugins', array() );
|
||||
update_option( 'wp_force_deactivated_plugins', array(), false );
|
||||
}
|
||||
|
||||
if ( is_multisite() ) {
|
||||
@@ -2664,7 +2664,7 @@ function deactivated_plugins_notice() {
|
||||
}
|
||||
|
||||
// Empty the options.
|
||||
update_option( 'wp_force_deactivated_plugins', array() );
|
||||
update_option( 'wp_force_deactivated_plugins', array(), false );
|
||||
if ( is_multisite() ) {
|
||||
update_site_option( 'wp_force_deactivated_plugins', array() );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user