Skip to content

Commit

Permalink
Reset tools list after setting defaults.
Browse files Browse the repository at this point in the history
See if this clears the issue on a fresh install, like with Travis CI.
  • Loading branch information
nosilver4u committed Feb 11, 2025
1 parent 6f23a4d commit 804cd5d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions classes/class-plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -868,6 +868,8 @@ public function set_defaults() {
\add_site_option( 'exactdn_sub_folder', false );
\add_site_option( 'exactdn_prevent_db_queries', true );
\add_site_option( 'ewww_image_optimizer_ll_autoscale', true );
// If anything changed, need to re-init the tools list.
$this->local->skip_tools();
}

/**
Expand Down

0 comments on commit 804cd5d

Please sign in to comment.