Skip to content

Commit

Permalink
Small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
joverthegrey committed Nov 21, 2023
1 parent 392fc75 commit 1759010
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
5 changes: 4 additions & 1 deletion warpdrive-plugin/readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Tags: hosting
Requires at least: 4.0.1
Tested up to: 6.4.1
Requires PHP: 7.4
Stable tag: 2.10.8
Stable tag: 2.10.9
License: GPL-3.0-only
License URI: https://github.com/Savvii/warpdrive/blob/master/LICENSE

Expand All @@ -19,6 +19,9 @@ A detailed [README](https://github.com/Savvii/warpdrive/blob/master/README.md) c
A few notes about the sections above:

== Changelog ==
= 2.10.9
* Small code fix

= 2.10.8
* Some code clean up
* minor bugfxies
Expand Down
3 changes: 1 addition & 2 deletions warpdrive-plugin/src/class-cache-flusher-wprocket.php
Original file line number Diff line number Diff line change
Expand Up @@ -74,12 +74,11 @@ public function flush_domain($domain = null) {
}

if (function_exists('rocket_clean_files')) {
$language = get_bloginfo('language');
$paths = [
'https://' . $domain . '/',
'http://' . $domain . '/'
];
rocket_clean_files($language);
rocket_clean_files($paths);
}

return true;
Expand Down

0 comments on commit 1759010

Please sign in to comment.