Changeset 1814294
- Timestamp:
- 02/02/2018 05:02:36 PM (8 years ago)
- File:
-
- 1 edited
-
gator-cache/tags/2.1.6/gator-cache.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
gator-cache/tags/2.1.6/gator-cache.php
r1814164 r1814294 2 2 /** 3 3 * @package Gator Cache 4 * @version 2.1. 64 * @version 2.1.7 5 5 */ 6 6 /* … … 12 12 Text Domain: gator-cache 13 13 Domain Path: /lang 14 Version: 2.1. 614 Version: 2.1.7 15 15 */ 16 16 class WpGatorCache … … 49 49 protected static $multiSiteData; 50 50 const PREFIX = 'gtr_cache'; 51 const VERSION = '2.1. 6';51 const VERSION = '2.1.7'; 52 52 const JP_MOBILE_MOD = 'minileven'; // JetPack mobile module slug 53 53 const SUPPORT_LINK = 'https://wordpress.org/support/plugin/gator-cache'; … … 57 57 $options = self::getOptions(); 58 58 $request = GatorCache::getRequest(); 59 // work-around for recent version of WooCommerce prevent caching on later hook 60 if (defined('WOOCOMMERCE_VERSION') && false !== has_filter('wp', 'WC_Cache_Helper::prevent_caching')) { 61 WC_Cache_Helper::prevent_caching(); 62 remove_filter('wp', 'WC_Cache_Helper::prevent_caching'); 63 } 59 64 global $post; 60 65 if (!$options['enabled']
Note: See TracChangeset
for help on using the changeset viewer.