Ability to change a user language back to site's language is missing
|Reported by:||ocean90||Owned by:||swissspidy|
|Component:||I18N||Keywords:||has-patch has-unit-tests commit|
In the admin (and via REST API #38528) it's currently not possible to set a user language back to site's language. get_user_locale() falls back to get_locale() only if the meta field is a falsy value.
wp_dropdown_languages() uses an empty string value for en_US which gets replaced with en_US in https://core.trac.wordpress.org/browser/trunk/src/wp-admin/includes/user.php?rev=38705&marks=99-106#L99.
I'm not sure if there really needs to be a way for this so I'm moving this to 4.7 for a decision.