Skip to content

Commit

Permalink
Merge pull request #573 from newfold-labs/bugfix/plugins
Browse files Browse the repository at this point in the history
Move `configure_activation_transient` to page loads only
  • Loading branch information
officiallygod authored Jun 5, 2024
2 parents ca21063 + 0bc1c2b commit 90b2516
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 90b2516

Please sign in to comment.