Compatibility with Hide My WP Ghost
-
Hi,
I love your plugin. It’s really great what you did and how fast it works.
Only one small request to be compatible with Hide My WP Ghost who changes the paths in content before saving it in the cache file.
A hook would fix this if you add in file:
wp-content/plugins/jch-optimize/src/Cache.php:367
before the line:
$file_contents = base64_encode(serialize($content));
the hook:
$content = apply_filters('jch-save-content', $content);
Will look like:
$wp_filesystem = self::getWpFileSystem(); $content = apply_filters('jch-save-content', $content); $file_contents = base64_encode(serialize($content)); $file = self::_getFileName($id, $page_cache);
You can do the same with the PRO plugin too.
Best, John
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Compatibility with Hide My WP Ghost’ is closed to new replies.