From 0bc1c2b29e50496ae2b08850a20803cf81842cc5 Mon Sep 17 00:00:00 2001 From: arunshenoy99 Date: Wed, 5 Jun 2024 12:33:19 +0530 Subject: [PATCH] Move configure_activation_transient to page loads only --- includes/Application.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/includes/Application.php b/includes/Application.php index be7186b9c..c0d0af0ab 100644 --- a/includes/Application.php +++ b/includes/Application.php @@ -76,11 +76,9 @@ public function __construct( Container $container ) { if ( Permissions::is_authorized_admin() ) { StatusService::track(); + PluginService::configure_activation_transient(); } - // Adds a transient to activate plugins in all scenarios. - PluginService::configure_activation_transient(); - \do_action( 'nfd_module_onboarding_post_init' ); } }