[wp-trac] [WordPress Trac] #38665: Add user language preference to 'Add new user' form

WordPress Trac noreply at wordpress.org
Fri Nov 4 18:48:21 UTC 2016


#38665: Add user language preference to 'Add new user' form
-------------------------+-----------------------------
 Reporter:  barryceelen  |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Future Release
Component:  I18N         |     Version:  trunk
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |     Focuses:
-------------------------+-----------------------------
Changes (by barryceelen):

 * keywords:  needs-patch => has-patch


Comment:

 [https://core.trac.wordpress.org/attachment/ticket/38665/38665.diff
 38665.diff] adds the language dropdown to the 'Add User' form.

 Setting `$user->locale` is moved outside of the `$update` conditional.
 Currently also removes setting `$user->locale = ''`. Unsure why that was
 there in the first place?

 The language select is only shown if `!is_multisite()`. Is that correct?

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


More information about the wp-trac mailing list