Changeset 2552371
- Timestamp:
- 06/22/2021 10:04:06 PM (5 years ago)
- Location:
- speedien
- Files:
-
- 2 edited
- 9 copied
-
tags/1.0.6 (copied) (copied from speedien/trunk)
-
tags/1.0.6/advanced-cache.php (copied) (copied from speedien/trunk/advanced-cache.php) (1 diff)
-
tags/1.0.6/readme.txt (copied) (copied from speedien/trunk/readme.txt)
-
tags/1.0.6/speedien.php (copied) (copied from speedien/trunk/speedien.php)
-
tags/1.0.6/speedien_admin_bar.php (copied) (copied from speedien/trunk/speedien_admin_bar.php)
-
tags/1.0.6/speedien_admin_notice.php (copied) (copied from speedien/trunk/speedien_admin_notice.php)
-
tags/1.0.6/speedien_cache.php (copied) (copied from speedien/trunk/speedien_cache.php) (1 diff)
-
tags/1.0.6/speedien_purge_hooks.php (copied) (copied from speedien/trunk/speedien_purge_hooks.php)
-
tags/1.0.6/speedien_ui.php (copied) (copied from speedien/trunk/speedien_ui.php)
-
trunk/advanced-cache.php (modified) (1 diff)
-
trunk/speedien_cache.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
speedien/tags/1.0.6/advanced-cache.php
r2552370 r2552371 14 14 15 15 if (!empty($_COOKIE)) { 16 if(!empty($_COOKIE['wordpress_ no_cache']))16 if(!empty($_COOKIE['wordpress_logged_in_1'])) 17 17 { 18 if($_COOKIE['wordpress_ no_cache'] !== 'preview')18 if($_COOKIE['wordpress_logged_in_1'] !== 'preview') 19 19 { 20 20 $bypass_cache = 1; 21 21 } 22 22 } 23 $cookies_regex = '/(wordpress_[a-f0-9]+|comment_author|wp-postpass|wordpress_ logged_in|woocommerce_cart_hash|woocommerce_items_in_cart|woocommerce_recently_viewed|edd_items_in_cart)/';23 $cookies_regex = '/(wordpress_[a-f0-9]+|comment_author|wp-postpass|wordpress_no_cache|woocommerce_cart_hash|woocommerce_items_in_cart|woocommerce_recently_viewed|edd_items_in_cart)/'; 24 24 $cookies = htmlentities(implode('', array_keys($_COOKIE))); 25 25 if (preg_match($cookies_regex, $cookies)) { -
speedien/tags/1.0.6/speedien_cache.php
r2552370 r2552371 33 33 if(!empty($_COOKIE)) 34 34 { 35 if(!empty($_COOKIE['wordpress_ no_cache']))36 { 37 if($_COOKIE['wordpress_ no_cache'] !== 'speedien')35 if(!empty($_COOKIE['wordpress_logged_in_1'])) 36 { 37 if($_COOKIE['wordpress_logged_in_1'] !== 'speedien') 38 38 { 39 39 $bypass_cache = 1; 40 40 } 41 41 } 42 $cookielist = '/(wordpress_[a-f0-9]+|comment_author|wp-postpass|wordpress_ logged_in|woocommerce_cart_hash|woocommerce_items_in_cart|woocommerce_recently_viewed|edd_items_in_cart)/';42 $cookielist = '/(wordpress_[a-f0-9]+|comment_author|wp-postpass|wordpress_no_cache|woocommerce_cart_hash|woocommerce_items_in_cart|woocommerce_recently_viewed|edd_items_in_cart)/'; 43 43 $cookies = sanitize_text_field(implode('', array_keys($_COOKIE))); 44 44 if (preg_match($cookielist, $cookies)) { -
speedien/trunk/advanced-cache.php
r2547636 r2552371 14 14 15 15 if (!empty($_COOKIE)) { 16 if(!empty($_COOKIE['wordpress_ no_cache']))16 if(!empty($_COOKIE['wordpress_logged_in_1'])) 17 17 { 18 if($_COOKIE['wordpress_ no_cache'] !== 'preview')18 if($_COOKIE['wordpress_logged_in_1'] !== 'preview') 19 19 { 20 20 $bypass_cache = 1; 21 21 } 22 22 } 23 $cookies_regex = '/(wordpress_[a-f0-9]+|comment_author|wp-postpass|wordpress_ logged_in|woocommerce_cart_hash|woocommerce_items_in_cart|woocommerce_recently_viewed|edd_items_in_cart)/';23 $cookies_regex = '/(wordpress_[a-f0-9]+|comment_author|wp-postpass|wordpress_no_cache|woocommerce_cart_hash|woocommerce_items_in_cart|woocommerce_recently_viewed|edd_items_in_cart)/'; 24 24 $cookies = htmlentities(implode('', array_keys($_COOKIE))); 25 25 if (preg_match($cookies_regex, $cookies)) { -
speedien/trunk/speedien_cache.php
r2552322 r2552371 33 33 if(!empty($_COOKIE)) 34 34 { 35 if(!empty($_COOKIE['wordpress_ no_cache']))36 { 37 if($_COOKIE['wordpress_ no_cache'] !== 'speedien')35 if(!empty($_COOKIE['wordpress_logged_in_1'])) 36 { 37 if($_COOKIE['wordpress_logged_in_1'] !== 'speedien') 38 38 { 39 39 $bypass_cache = 1; 40 40 } 41 41 } 42 $cookielist = '/(wordpress_[a-f0-9]+|comment_author|wp-postpass|wordpress_ logged_in|woocommerce_cart_hash|woocommerce_items_in_cart|woocommerce_recently_viewed|edd_items_in_cart)/';42 $cookielist = '/(wordpress_[a-f0-9]+|comment_author|wp-postpass|wordpress_no_cache|woocommerce_cart_hash|woocommerce_items_in_cart|woocommerce_recently_viewed|edd_items_in_cart)/'; 43 43 $cookies = sanitize_text_field(implode('', array_keys($_COOKIE))); 44 44 if (preg_match($cookielist, $cookies)) {
Note: See TracChangeset
for help on using the changeset viewer.