From 0a915e2760ed06a06aa48f1a54e772da08f3b957 Mon Sep 17 00:00:00 2001 From: arunshenoy99 Date: Tue, 12 Mar 2024 12:03:08 +0530 Subject: [PATCH] Delete transient in any case --- includes/Services/PluginService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/Services/PluginService.php b/includes/Services/PluginService.php index 34549cdaf..1fd72dfde 100644 --- a/includes/Services/PluginService.php +++ b/includes/Services/PluginService.php @@ -150,9 +150,9 @@ public static function configure_activation_transient() { break; default: if ( '1' === get_transient( Options::get_option_name( 'filter_active_plugins' ) ) ) { + delete_transient( Options::get_option_name( 'filter_active_plugins' ) ); $flow = Data::current_flow(); if ( 'sitegen' !== $flow ) { - delete_transient( Options::get_option_name( 'filter_active_plugins' ) ); self::activate_init_plugins(); } }