Changeset 2988662
- Timestamp:
- 11/03/2023 06:30:48 PM (2 years ago)
- Location:
- jinx-fast-cache/trunk
- Files:
-
- 2 edited
-
index.php (modified) (1 diff)
-
src/Front.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
jinx-fast-cache/trunk/index.php
r2988655 r2988662 5 5 * Plugin URI: https://wordpress.org/plugins/jixn-fast-cache/ 6 6 * Description: Blazing fast full page cache. 7 * Version: 0.7. 47 * Version: 0.7.5 8 8 * Author: Jinx Digital <hello@jinx-digital.com> 9 9 * Author URI: http://jinx-digital.com -
jinx-fast-cache/trunk/src/Front.php
r2893514 r2988662 81 81 82 82 add_filter('jinx_fast_cache_output', function($html) { 83 return apply_filters('jinx_fast_cache_minify', true) ? Helper::minify($html) : $html; 84 }); 83 84 if (apply_filters('jinx_fast_cache_minify', true)) { 85 $html = Helper::minify($html); 86 } 87 88 $date = (new \DateTime)->format('c'); 89 90 $html .= PHP_EOL."<!-- Cached by Jinx Fast-Cache - https://jinx-digital.com - Last modified: {$date} -->"; 91 92 return $html; 93 94 }); 85 95 86 96 add_shortcode('jinx_fast_cache_inject', function($attr, $content) {
Note: See TracChangeset
for help on using the changeset viewer.