babble
babble copied to clipboard
locale filter doesn't always return the language
Due commit ffb11655a0db73534be23c73b24f988f1184a01b things got broken because of interface_lang vs content_lang. in class-locale.php you see cases where the is_admin() check is commented.
Current situation is that language_attributes() returns the incorrect language code because it's setting the content_lang but only interface_lang is returned.
@johnbillion can commenting out of $this->content_lang also be for debugging purposes?
This has now become a blocker for me. Uncommenting the lines does seem to work for me.