Make WordPress Core

Opened 10 years ago

Closed 10 years ago

#38798 closed defect (bug) (fixed)

In `edit_user()` don't fall back to `en_US` for invalid locales

Reported by: ocean90 Owned by: ocean90
Priority: normal Milestone: 4.7
Component: Users Version: 4.7
Severity: normal Keywords: has-patch commit
Cc: Focuses:

Description

It should be site's default instead.

Related: [39169]

Attachments (1)

38798.patch (555 bytes ) - added by ocean90 10 years ago.

Download all attachments as: .zip

Change History (3)

@ocean90
10 years ago

#1 @swissspidy
10 years ago

  • Keywords commit added

Looks good to me.

#2 @ocean90
10 years ago

  • Owner set to ocean90
  • Resolutionfixed
  • Status newclosed

In 39269:

Users: In edit_user() fall back to site's locale instead of en_US for invalid user locales.

See #38632, #29783.
Fixes #38798.

Note: See TracTickets for help on using tickets.