Skip to content

Commit

Permalink
Merge pull request #520 from newfold-labs/fix/sitegen-transient
Browse files Browse the repository at this point in the history
Delete transient in any case
  • Loading branch information
arunshenoy99 authored Mar 18, 2024
2 parents 5280078 + 0a915e2 commit 274ee29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/Services/PluginService.php
Original file line number Diff line number Diff line change
Expand Up @@ -162,9 +162,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();
}
}
Expand Down

0 comments on commit 274ee29

Please sign in to comment.