Open
Overview of the issue
If you select the option to Store a language cookie to support language filtering for AJAX on the WPML → Languages page, you will see the following error in your Firefox browser console:
Cookie “wp-wpml_current_language” will be soon rejected because it has the “SameSite” attribute set to “None” or an invalid value, without the “secure” attribute. To know more about the “SameSite” attribute, read https://developer.mozilla.org/docs/Web/HTTP/Headers/Set-Cookie/SameSite
According to their documentation, the warning is being displayed in FireFox because:
Cookies with SameSite=None must now also specify the Secure attribute (they require a secure context/HTTPS).
Workaround
- Open the Firefox browser and paste about:config in the address bar.
- Search for network.cookie.sameSite.laxByDefault.
- Double click on it and this value will be changed from false to true.
- Restart your Firefox browser.