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
Alexander Minza
2307febfa1
Fixed Moldova states
2017-12-30 14:34:12 +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
Alexander Minza
fca5ef8dd8
Added Moldova states
2017-12-19 23:44:25 +02:00
John Coy
a9baf47dc9
Spelling fix
...
Fixed Hokkaido Prefecture
2017-12-05 10:55:36 -06:00
Claudio Sanches
899bac0fbc
Merge pull request #17938 from zachd/update-irish-counties
...
Ensure Irish counties are listed alphabetically
2017-11-29 09:53:19 -02:00
John Coy
249aec1d47
Prefecture fix
...
Applied correct prefecture type for Tokyo and Hokkaido
2017-11-28 17:01:58 -06:00
John Coy
a5d50968dc
Updates Japanese Prefectures
...
Japanese prefectures now include type of prefecture to follow proper methods of listing. FIxes #17941
2017-11-28 16:35:59 -06:00
Zachary
f09b7fc97e
Ensure Irish counties are listed alphabetically
2017-11-28 18:58:50 +00:00
Mohsin Sumar
66888355fd
Update TZ.php
...
Indentation fixed.
2017-10-06 13:13:56 +03:00
Mohsin Sumar
a31fb456f1
Update TZ.php
2017-10-06 00:21:11 +03:00
Mohsin Sumar
5c6770b35b
States for Tanzania
2017-10-05 16:08:01 +03:00
Mike Jolley
988b25b7ef
angola states ( #16092 )
...
* Added cantons of Angola
* fix cantons of Angola
fix cantons of Angola. Angola (ISO Country code)
Subdivision names are listed as in the ISO 3166-2 standard published by
the ISO 3166 Maintenance Agency (ISO 3166/MA).
source: https://en.wikipedia.org/wiki/ISO_3166-2:AO
* fix indentation
* fix indentation
* fix indentation update
* fix indenting again
2017-07-12 15:22:48 +01:00
Marco Zink
dce55fcc86
Update MX.php
...
Fix extra space
2017-07-10 17:41:06 -05:00
Marco Zink
d066a05410
Update MX.php
...
Accented characters are now using the correct HTML code `acute`, users were experiencing problems in order acceptance when using a state with a special character.
2017-07-10 15:45:17 -05:00
Claudio Sanches
87de43b00f
Added cantons of Switzerland
2017-07-05 19:41:56 -03:00
dabodude
32b78a3c62
Update MX.php Changing to 2 Letter Code
...
Sorry, it seems the 3 letter code causes conflicts with some shipping services such as Fedex. Moving to 2 letter code.
2017-06-28 12:20:08 -05:00
dabodude
00fba29c6e
Update MX.PHP
...
Renamed Distrito Federal to Ciudad de Mexico which is the new official name of the "Capital State"
Changed States to a 3 letter ISO 3166:2 Code https://es.wikipedia.org/wiki/ISO_3166-2:MX
2017-06-28 01:04:34 -05: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
Mike Jolley
db012b3a12
Merge pull request #15011 from woocommerce/fix/14999
...
Add abspath checks
2017-05-23 15:57:35 +01:00
Umesh Ghimire
b026e9839c
Tweak - Nepali zone name update
2017-05-22 14:14:07 +05:45
Mike Jolley
bc4d36fd3f
Add abspath checks
...
Closes #14999
2017-05-10 19:03:19 +01:00
Mike Jolley
891e55e1cf
Merge pull request #14721 from woocommerce/fix/14670
...
Avoid escaped quote chars in strings
2017-04-27 15:34:27 +01:00
Mike Jolley
38279a72f3
version
2017-04-27 11:26:44 +01:00
Mike Jolley
801f5e1eb1
Avoid escaped quote chars in strings
...
Closes #14670
2017-04-26 13:51:53 +01:00
Roman Random
412cebc813
Added Bolivian states
2017-04-18 14:31:05 +02:00
Claudio Sanches
59c2849736
Changed version 2.7 to 3.0
2017-03-15 13:36:53 -03:00
Mike Jolley
c0d6d3d051
Sort
2017-02-28 09:42:42 +00:00
Anwer AR
bd2db65d50
Updated author and version
2017-02-28 00:31:28 +05:00
Anwer Abdul Rehman
51d2f80cb2
List of States in Pakistan
...
Added PK.php in states for Pakistani states. all province codes are accoring to ISO 3166 Standard
2017-02-26 23:50:51 +05:00
Sidsector9
a8e6b265d4
Update IN.php
...
Spelling corrected from "Dadar and Nagar Haveli" to "Dadra and Nagar Haveli" on line 44.
2016-12-09 01:55:24 +05:30
Zachary
09f53ce778
Add counties for Republic of Ireland, change Postcode label to Eircode ( #12180 )
2016-11-03 11:48:14 +00:00
flyonthenet
050f7f8497
Changed 'L'Aquila' to 'L\'Aquila'
...
In orders admin view, city name is converted to uppercase L'AQUILA - not legal HTML entity
2016-09-17 12:08:04 +02:00
Aristeides Stathopoulos
0516e96843
PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket
2016-09-02 04:33:57 +03:00
Aristeides Stathopoulos
b063bcfe4c
last item in a multiline-array should end in a comma
2016-08-27 04:46:45 +03:00
Claudio Sanches
0657c39d2d
Fixed coding standards and file version for i18n/states/NG.php
2016-07-20 17:07:21 -03:00
Oshomo Oforomeh
86e58c8890
Added Nigerian Provinces to state
2016-06-10 21:04:23 +01:00
Mike Jolley
75c264837f
Justins feedback/code tidy
2016-02-10 13:21:16 +00:00
Mike Jolley
62ca37f651
Merge branch 'master' into shipping-zones
...
# Conflicts:
# includes/admin/class-wc-admin-assets.php
# includes/class-wc-install.php
2016-01-04 14:35:45 +00:00
Mike Jolley
ea8e671459
Rename some MY states
2015-12-18 10:49:40 +00:00
Mike Jolley
b9a02ba98c
Some US states are countries
...
American Samoa, Guam, Mariana, Puerto Rico and islands are not really
states and have ISO country codes, so should be listed as such.
This may have implications on users using these state codes right now,
but as part of shipping zones this change makes sense. You wouldn’t
ship to Guam for the same cost as the US. @BFTrick
2015-12-08 12:39:17 +00:00
Shiva Poudel
7b25629020
Nepal states (Zones) Updated
2015-11-05 22:56:42 +05:45
Claudio Sanches
5893875b0c
Removed period for file headers
2015-11-03 11:53:50 -02:00
Claudio Sanches
efa19f799d
Fixed some coding standards for docblocks
2015-11-03 10:28:01 -02:00
Nicola Mustone
688203297b
updated version and indentation
2015-10-06 09:25:05 +02:00