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' ); } }