[wp-trac] [WordPress Trac] #32951: Remove duplicates from /wp-admin/includes/continents-cities.php
WordPress Trac
noreply at wordpress.org
Sat Jul 11 01:58:16 UTC 2015
#32951: Remove duplicates from /wp-admin/includes/continents-cities.php
-------------------------+------------------------------
Reporter: kanenas | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 4.2.2
Severity: normal | Resolution:
Keywords: | Focuses:
-------------------------+------------------------------
Comment (by dd32):
Unfortunately these originals are currently required.
These strings appear in the Timezone DB that PHP uses, and although they
may not be included in all versions of that (I have no idea what strings
the latest version includes), they'll exist in some older versions. PHP
uses the system timezonedb, and I've personally seen it using a 10+year
old version before.
We could instead setup a alias for these though; Remove the original, and
instead if it's encountered, return the translation for the correct term
(ie. `if ( $timezone === 'Ashkhabad' ) return 'Ashgabat';`)
--
Ticket URL: <https://core.trac.wordpress.org/ticket/32951#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list