Changeset 3012466
- Timestamp:
- 12/20/2023 01:15:04 PM (2 years ago)
- Location:
- jinx-fast-cache/trunk
- Files:
-
- 3 edited
-
index.php (modified) (1 diff)
-
readme.txt (modified) (1 diff)
-
src/Front.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
jinx-fast-cache/trunk/index.php
r2988662 r3012466 5 5 * Plugin URI: https://wordpress.org/plugins/jixn-fast-cache/ 6 6 * Description: Blazing fast full page cache. 7 * Version: 0.7. 57 * Version: 0.7.6 8 8 * Author: Jinx Digital <hello@jinx-digital.com> 9 9 * Author URI: http://jinx-digital.com -
jinx-fast-cache/trunk/readme.txt
r2980508 r3012466 3 3 Tags: cache, html, files, fullpage, pagecache, filecache, rewrite, htaccess 4 4 Requires at least: 5.0 5 Tested up to: 6. 3.25 Tested up to: 6.4.2 6 6 Requires PHP: 8.0 7 7 Stable tag: 0.3.6 -
jinx-fast-cache/trunk/src/Front.php
r2988662 r3012466 29 29 $disabled = null; 30 30 31 if (is_404()) { 31 // disable caching if 32 // * in maintenance mode 33 // * admin bar is showing 34 // * is preview 35 if (wp_is_maintenance_mode() || is_admin_bar_showing() || is_preview()) { 36 $disabled = true; 37 } elseif (is_404()) { 32 38 $disabled = apply_filters('jinx_fast_cache_ignore_404', true); 33 39 } else { … … 45 51 } 46 52 47 if (is_bool($disabled)) { 53 if (is_bool($disabled)) { 48 54 return !$disabled; 49 55 }
Note: See TracChangeset
for help on using the changeset viewer.