polylang always sets cookie
-
Hi
I was wondering why you were always setting the polylang cookie, it gives me cache hit problemsDo you think that it is a bad idea to change this code
if (!headers_sent()) setcookie('wordpress_polylang',....
into this one ?
if (!headers_sent()) if (!isset($_COOKIE['wordpress_polylang'])) setcookie('wordpress_polylang',....
in wp-content/plugins/polylang/include/core.php line 196
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘polylang always sets cookie’ is closed to new replies.