Skip to content

Commit

Permalink
Fix inability to deactivate Divi theme right after activation.
Browse files Browse the repository at this point in the history
  • Loading branch information
kagg-design committed Nov 2, 2024
1 parent 1a142e2 commit ef511e3
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/php/Settings/Integrations.php
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,6 @@ public function after_switch_theme_action(): void {
$this->run_checks( self::ACTIVATE_ACTION );

// Do not allow redirect during Divi theme activation.
// remove_action( 'switch_theme', 'et_onboarding_remove_transients' );
remove_action( 'after_switch_theme', 'et_onboarding_trigger_redirect' );
}

Expand Down

0 comments on commit ef511e3

Please sign in to comment.