WordPress.org

Make WordPress Core

Opened 9 months ago

Closed 9 months ago

Last modified 9 months ago

#41794 closed defect (bug) (fixed)

Support numbers in locales during installation

Reported by: ocean90 Owned by: ocean90
Milestone: 4.8.2 Priority: normal
Severity: normal Version: 4.0
Component: I18N Keywords:
Focuses: Cc:

Description

The current regex is a bit to strict for locales like pt_PT_ao90.

Change History (2)

#1 @ocean90
9 months ago

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

In 41335:

I18N: Allow numbers in locales during installation.

The current regex was a bit to strict for locales like pt_PT_ao90 which were already supported by wp_get_installed_translations().

Fixes #41794.

#2 @ocean90
9 months ago

In 41336:

I18N: Allow numbers in locales during installation.

The current regex was a bit to strict for locales like pt_PT_ao90 which were already supported by wp_get_installed_translations().

Merge of [41335] to the 4.8 branch.

See #41794.

Note: See TracTickets for help on using tickets.