JohnSeddon
Forum Replies Created
-
Forum: Plugins
In reply to: [Compliance by Hu-manity.co] Cookie Notice not compatible with W3 Total CacheOK, I thought that this was checking for a cookie not being set before outputting the cookie notice…
/** * Cookie notice output. */ public function add_cookie_notice() { if ( ! $this->cookie_setted() ) {I guess I was wrong.
Forum: Plugins
In reply to: [Compliance by Hu-manity.co] Cookie Notice not compatible with W3 Total CacheCookie Notice doesn’t use PHP to store / check notice data – it’s just pure JS that should not be affected by caching plugins.
From cookie-notice.php (version 1.2.34) Line 662 to 667 >>
/** * Checks if cookie is setted */ public function cookie_setted() { return isset( $_COOKIE[self::$cookie['name']] ); }So this is not using PHP to check if the cookie is set?
Forum: Plugins
In reply to: [Compliance by Hu-manity.co] Cookie Notice not compatible with W3 Total CacheI can confirm that the scenario described by Gytis does appear to be a problem. To recreate on a test site, take 3 clean (no cookies or cache) browsers…
1) Browser 1: Clear the W3TC Page Cache.
2) Browser 2: Visit index page of site, accept cookie notice.
3) Browser 1: Clear the Page Cache again.
4) Browser 2: Reload index page of site (CTRL F5)
5) Browser 3: Visit index page of site.You will find that at step 5 you do NOT see the cookie notice even though this is the first visit by this browser.
Using..
Wordpress 4.3
W3TC 0.9.4.1 with Disk Enhanced Page Cache
Cookie Notice 1.2.32Forum: Plugins
In reply to: [Category Posts in Custom Menu] Undefined Index?I am also getting this notice (with debug enabled)…
Undefined index: menu-item-cpcm-item-count in …wp-content/plugins/category-posts-in-custom-menu/category-posts-in-custom-menu.php on line 531
Undefined index: menu-item-cpcm-item-skip in …wp-content/plugins/category-posts-in-custom-menu/category-posts-in-custom-menu.php on line 532I have version 1.2.0 on WordPress 4.2.2