Hidden default lang pre-path cookies problem fix #418
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Dear qtranslate-x team. I, as many people (https://wordpress.org/support/topic/how-to-disable-the-qtrans_front_language-cookie) was having problems with qtranslate-x set in pre-path mode and hidden default language. Browsing my site was trouble cause event though language switcher worked just fine, browsing to the default language with browser's back button or even writting down the url didn't work. I schemed the code and after some trial and errors added that line that seems to fix it. It can give other problems though, I would like you to take a look at it. Also I am 100% sire it is NOT a problem of qtranslate-slug. My site is this if you wanna check it: https://xnet-x.net/ hugs