woocommerce/i18n/states
Rodrigo Primo 5116cd0bd3 Replace named HTML entity with decimal HTML entity
WP `esc_html()` function escapes the valid named HTML entity `ă` and this is causing problems for some state names (see issue #18355). This commit provides a workaround by replacing `ă` with its decimal HTML entity version `ă`.

The WP core ticket below added a whilelist of named HTML entity but there is no explanation why some named HTML entities, like `ă`, were not included in the list and thus are escaped:

https://core.trac.wordpress.org/ticket/12284

Fixes #18355
2018-01-05 12:08:14 -02:00
..
AO.php angola states (#16092) 2017-07-12 15:22:48 +01:00
AR.php Add abspath checks 2017-05-10 19:03:19 +01:00
AU.php Add abspath checks 2017-05-10 19:03:19 +01:00
BD.php Add abspath checks 2017-05-10 19:03:19 +01:00
BG.php Add abspath checks 2017-05-10 19:03:19 +01:00
BO.php Add abspath checks 2017-05-10 19:03:19 +01:00
BR.php Add abspath checks 2017-05-10 19:03:19 +01:00
CA.php Add abspath checks 2017-05-10 19:03:19 +01:00
CH.php Added cantons of Switzerland 2017-07-05 19:41:56 -03:00
CN.php Add abspath checks 2017-05-10 19:03:19 +01:00
ES.php Add abspath checks 2017-05-10 19:03:19 +01:00
GR.php Add abspath checks 2017-05-10 19:03:19 +01:00
HK.php Add abspath checks 2017-05-10 19:03:19 +01:00
HU.php Add abspath checks 2017-05-10 19:03:19 +01:00
ID.php Add abspath checks 2017-05-10 19:03:19 +01:00
IE.php Ensure Irish counties are listed alphabetically 2017-11-28 18:58:50 +00:00
IN.php Add abspath checks 2017-05-10 19:03:19 +01:00
IR.php Add abspath checks 2017-05-10 19:03:19 +01:00
IT.php Add abspath checks 2017-05-10 19:03:19 +01:00
JP.php Spelling fix 2017-12-05 10:55:36 -06:00
MD.php Replace named HTML entity with decimal HTML entity 2018-01-05 12:08:14 -02:00
MX.php Update MX.php 2017-07-10 17:41:06 -05:00
MY.php Add abspath checks 2017-05-10 19:03:19 +01:00
NG.php Add abspath checks 2017-05-10 19:03:19 +01:00
NP.php Merge pull request #15011 from woocommerce/fix/14999 2017-05-23 15:57:35 +01:00
NZ.php Add abspath checks 2017-05-10 19:03:19 +01:00
PE.php Add abspath checks 2017-05-10 19:03:19 +01:00
PH.php Add abspath checks 2017-05-10 19:03:19 +01:00
PK.php Add abspath checks 2017-05-10 19:03:19 +01:00
RO.php Replace named HTML entity with decimal HTML entity 2018-01-05 12:08:14 -02:00
TH.php Add abspath checks 2017-05-10 19:03:19 +01:00
TR.php Add abspath checks 2017-05-10 19:03:19 +01:00
TZ.php Update TZ.php 2017-10-06 13:13:56 +03:00
US.php Add abspath checks 2017-05-10 19:03:19 +01:00
ZA.php Add abspath checks 2017-05-10 19:03:19 +01:00