WordPress.org

Make WordPress Core

Opened 4 months ago

Closed 4 months 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
Milestone: 4.7 Priority: normal
Severity: normal Version: 4.7
Component: Users Keywords: has-patch commit
Focuses: Cc:

Description

It should be site's default instead.

Related: [39169]

Attachments (1)

38798.patch (555 bytes) - added by ocean90 4 months ago.

Download all attachments as: .zip

Change History (3)

@ocean90
4 months ago

#1 @swissspidy
4 months ago

  • Keywords commit added

Looks good to me.

#2 @ocean90
4 months 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.