[wp-trac] [WordPress Trac] #40205: Interim login modal window uses front end language instead of admin language

WordPress Trac noreply at wordpress.org
Sat Jul 29 09:02:18 UTC 2017


#40205: Interim login modal window uses front end language instead of admin
language
-------------------------------------------+-----------------------------
 Reporter:  johnbillion                    |       Owner:
     Type:  defect (bug)                   |      Status:  new
 Priority:  normal                         |   Milestone:  Future Release
Component:  I18N                           |     Version:  4.7
 Severity:  normal                         |  Resolution:
 Keywords:  needs-patch needs-screenshots  |     Focuses:  administration
-------------------------------------------+-----------------------------

Comment (by Nikschavan):

 I have updated the patch to use `switch_to_locale()` inside `wp-login.php`

 For sanitization right now I am just using `sanitize_text_field ()` will
 this need more sanitization for this?

--
Ticket URL: <https://core.trac.wordpress.org/ticket/40205#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list