Jump to content
  • Status: Moved to Github

I noticed with 3 seperate localhost test install tabs open at once with IC 5.0.8 (Firefox Windows 11 PC), that if you change the theme mode between light mode/dark mode/system preference in one browser tab using:

image.png

it affects all the other localhost sites in their browser tabs when you switch tabs; i.e. they all see the same preference despite being different websites in different browser tabs, they all go light, dark etc not unique. I don't even need to reload a page, they instantly change behind the scenes.

I double checked and each site has a different cookie configuration for prefix and path set in its constants.php, only the domain is the same (localhost).

e.g.

constants.php

define( 'COOKIE_DOMAIN', 'localhost' );

define( 'COOKIE_PREFIX', 'ips5-theme3_' );

define( 'COOKIE_PATH', '/ips5-theme3/' );

Is this a bug or possibly the theme preference isn't being stored in a cookie?

I noticed whilst it affects all my localhost sites it doesn't affect this website here open in a 4th browser tab and vice versa.

User Feedback

Recommended Comments

There are no comments to display.