NO BUG: Local environment two websites bricks theme styles and classes collide

Browser: Chrome 110
OS: Windows

Hey I am working locally in WAMP, and I worked on two different sites in the same time with bricks when I noticed some strange things happening. I have two different wordpress installs with different databases for the two website like the following:

localhost/site1
localhost/site2

Today I started to work on these two websites simultaneously and when I did this, I noticed that if I changed something in the theme styles in site1 the fields from theme styles of site2 dissapeared in and I needed to refresh the browser in order to get the fields back.

That wouldn’t be a huge issue, however I also noticed that the theme styles I applied to site1 also applied to site2. I tried it backwards I applied a class to an element on site2 and I could see that same class in the class manager of site1.

Maybe it’s because I’m working on two different websites simultaneously, but I just wanted to let you guys know about this issue.

Hi Tamas,
Thanks so much for your report!

Both installations share the same localStorage space. You can theoretically work around this by using the port within one of the URLs, e.g., localhost:5270/site1 (whatever port WAMP is using), to separate the origin.

Best regards,
timmse

1 Like