Skip to content

Commit

Permalink
Fix wpstarter.skip-cache-env arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
nlemoine authored Jul 4, 2024
1 parent cb0967a commit f835186
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Env/Helpers.php
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ final public static function shouldCacheEnv(): bool
if (!did_action('plugins_loaded')) {
return !$skip;
}
static::$shouldCache = !apply_filters('wpstarter.skip-cache-env', $skip);
static::$shouldCache = !apply_filters('wpstarter.skip-cache-env', $skip, $env);
}

return static::$shouldCache;
Expand Down

0 comments on commit f835186

Please sign in to comment.