Joerg Halitschke
Forum Replies Created
Viewing 3 replies - 1 through 3 (of 3 total)
-
Hi @wpdelicious
I’ve tested the latest plugin version with both ways adding the filter, the way like you mentioned and also wrapping the filter in
after_setup_theme
, with both methods i still get the cookie header:$ curl -IL https://stage.eatclub.tv/ HTTP/2 200 server: nginx date: Fri, 08 Jul 2022 09:50:06 GMT content-type: text/html; charset=UTF-8 set-cookie: _delicious_recipes_session=eed0586686bcd4c6961332111d1ce14f%7C%7C1657275605%7C%7C1657275245; expires=Fri, 08-Jul-2022 10:20:05 GMT; Max-Age=1800; path=/ x-hacker: If you're reading this, you should visit wpvip.com/careers and apply to join the fun, mention this header. x-powered-by: WordPress VIP <https://wpvip.com> host-header: a9130478a60e5f9135f765b23f26593b x-robots-tag: noindex, nofollow p3p: CP="ALL DSP NID CURa ADMa DEVa HISa OTPa OUR NOR NAV DEM" link: <https://stage.eatclub.tv/wp-json/>; rel="https://api.w.org/" link: <https://stage.eatclub.tv/wp-json/wp/v2/pages/1394>; rel="alternate"; type="application/json" link: <https://stage.eatclub.tv/>; rel=shortlink x-rq: hhn1 0 4 9980 age: 0 x-cache: miss accept-ranges: bytes
Looks like the filter never get’s applied.
Regards
Hello @wpdelicious
I’ve tested the latest release, no more autoloaded _wp_session_* entries in wp_options.
Thank you.
Hello @wpdelicious
i tried to disable the cookie by adding the filter to my child themes function.php, but the $allow_js_cookie keeps always 1 in class-wp-session.php:94
(first tried your example code, which also didn’t disable the cookie)
add_action('after_setup_theme', function() { add_filter( 'dr_session_allow_js_cookie_fe', function(){ error_log('adding filter dr_session_allow_js_cookie_fe'); return false; }, 1 ); });
Viewing 3 replies - 1 through 3 (of 3 total)