Duplicate time format suggestions if locale's time format is the same as default time format
|Reported by:||waclawjacek||Owned by:||nacin|
The default time format is set to “H:i” in the Polish translation, but this results in duplicate “H:i” entries on the settings screen (see: attachment). Happens in version 3.4 and earlier.
Andrew Nacin's suggestion on "WP Polyglots":
A simple array_unique() should be enough there, on both $time_formats and $date_formats.
Change History (5)
comment:1 SergeyBiryukov — 18 months ago
- Keywords has-patch added
- Milestone changed from Awaiting Review to 3.5