Hi @nuadagency
I hope you’re well today!
I’m a bit surprised by the CORS issue here as Defender shouldn’t be causing it. I understand that disabling Defender not only makes the language switcher works but also fixes the CORS error, right?
There is one known compatibility bug with Polylang that may possibly be related here but it’s only related to specific option. Do you have “Mask Login Area” option enabled in Defender?
If yes, please try disabling this option and see if it solves the problem.
If it doesn’t fix it (or you are not using this function), please also try disabling security headers in “Defender -> Tools -> Security Headers” section temporarily.
If none of that is the case, let us know here, please, and we’ll do some more testing on our end to troubleshoot it further.
Best regards,
Adam
@wpmudev-support8 Hi, thanks for the info.
Yes, our current workaround involves turning off the login mask – which seems to confirm the issue with Polylang you mentioned. Any idea on a possible fix? It’s more dependent on your or Polylang team?
As for the CORS, it seems changing our htaccess rules fixed them, therefore we can conclude it had more to do with server settings than your plugin. If anything else arises I’ll let you know.
Let us know regarding the login mask issue. 🙂
Hi @nuadagency
I hope you are doing well.
Thank you for confirming.
Unfortunately, this is a conflict between both plugins and we don’t have a workaround on the Defender side, the Defender team was already reported but we don’t have an ETA to implement the fix, you can contact Polylang and see if they have any similar situation but I believe it depends on the Defender release.
You can subscribe to our roadmap to receive updates about our releases:
https://wpmudev.com/roadmap/
https://wpmudev.com/roadmap/#defender
Best Regards
Patrick Freitas
Hello @nuadagency ,
We haven’t heard from you for some time now, so it looks like you don’t require our further assistance.
Feel free to re-open this ticket if needed.
Kind regards
Kasia