WPML
Status
Open

Overview of the issue

If you select the option to Store a language cookie to support language filtering for AJAX on the WPMLLanguages 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

  1. Open the Firefox browser and paste about:config in the address bar.
  2. Search for network.cookie.sameSite.laxByDefault.
  3. Double click on it and this value will be changed from false to true.
  4. Restart your Firefox browser.

All known issues →