language and direction support are broken in login (register) page
wp-login.php fails to set the language and dir like the rest of the site. it shows:
HTML Code:
<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en-US">
Instead of:
HTML Code:
<html xmlns="http://www.w3.org/1999/xhtml" dir="rtl" lang="he-IL">
It also fails to set the correct body class.
Any quick solution for this?
I've looked at theme-login and saw it checks the STYLESHEETPATH.
I do use a child theme so it might be the issue, but I'm not familiar with the code so it might be something else completely...