Skip to content

Commit

Permalink
Move configure_activation_transient to page loads only
Browse files Browse the repository at this point in the history
  • Loading branch information
arunshenoy99 committed Jun 5, 2024
1 parent 5d73dec commit 0bc1c2b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions includes/Application.php
Original file line number Diff line number Diff line change
Expand Up @@ -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' );
}
}

0 comments on commit 0bc1c2b

Please sign in to comment.