Make WordPress Core

Opened 8 years ago

Closed 8 years ago

#38798 closed defect (bug) (fixed)

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

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


It should be site's default instead.

Related: [39169]

Attachments (1)

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

Download all attachments as: .zip

Change History (3)

8 years ago

#1 @swissspidy
8 years ago

  • Keywords commit added

Looks good to me.

#2 @ocean90
8 years ago

  • Owner set to ocean90
  • Resolution set to fixed
  • Status changed from new to closed

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.