Commit Graph

9 Commits

Author SHA1 Message Date
Claudio Sanches b2392aadb9 Use short ABSPATH check in i18n 2018-03-05 17:10:12 -03:00
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
Rodrigo Primo 9818ed10f9 PHPCS fixes
Fixed one violation in each file but left the filename violation (filenames should be lowercase) to fix another time for all state files at once.
2018-01-05 12:06:55 -02:00
Claudio Sanches 8bdc9a6a1d Fixed coding standards 2017-12-20 15:49:50 -02:00
Alexander Minza eea61cbe79 Added Moldova states 2017-12-19 23:44:58 +02:00
claudiulodro 506c01f56a Fix codesniffer violations 2017-06-27 14:19:59 -07:00
claudiulodro e9e8c3c011 formatting 2017-06-01 09:05:17 -07:00
claudiulodro 677802db71 formatting 2017-06-01 09:04:23 -07:00
claudiulodro 981fb2ce87 Add Romanian states 2017-06-01 09:03:23 -07:00