Skip to content

Commit af416db

Browse files
authored
Merge pull request #12 from framecreative/master
Add WP Filter to version salt
2 parents 47dd40d + 00ebb97 commit af416db

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

includes/src/Traits/Ac/ObUtils.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -220,6 +220,7 @@ public function maybeStartOutputBuffering()
220220

221221
$this->version_salt = $this->applyFilters(get_class($this).'__version_salt', $this->version_salt);
222222
$this->version_salt = $this->applyFilters(MEGAOPTIM_RAPID_CACHE_GLOBAL_NS.'_version_salt', $this->version_salt);
223+
$this->version_salt = $this->applyWpFilters(MEGAOPTIM_RAPID_CACHE_GLOBAL_NS.'_version_salt', $this->version_salt);
223224

224225
$this->cache_path = $this->buildCachePath($this->protocol.$this->host_token.$_SERVER['REQUEST_URI'], '', $this->version_salt);
225226
$this->cache_file = RAPID_CACHE_DIR.'/'.$this->cache_path; // Not considering a user cache. That's done in the postload phase.

0 commit comments

Comments
 (0)