Incorrect detection of locales without country code
mundschenk-at opened this issue · comments
Der Mundschenk & Compagnie commented
Some WordPress locales consist only of a language code, e.g. fi
, not a language and country code like en_US
. The Multilingual_Support::get_current_locale()
method fails to properly detect those.
First reported by vanuch in the WordPress support forums.