Skip to content

Commit a70c1aa

Browse files
remove dubble NL
1 parent 56340cf commit a70c1aa

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

LICENSE

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
PostNLNL
1+
PostNL
22
www.postnl.nl
33

44
THIS LICENSE AGREEMENT (HEREINAFTER AGREEMENT) IS AN AGREEMENT BETWEEN YOU (THE

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@ This WooCommerce extension allows you to export your orders to the PostNL servic
1717

1818
A PostNL API account is required for this plugin! You can create this in your account or contact PostNL at [email protected]
1919

20-
Voor de handleiding ga naar: https://postnlnl.github.io/woocommerce/
20+
Voor de handleiding ga naar: https://postnl.github.io/woocommerce/

includes/class-wcmp-api.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ private function getUserAgent() {
222222
$userAgents = array(
223223
'Wordpress/' . get_bloginfo('version'),
224224
'WooCommerce/' . WOOCOMMERCE_VERSION,
225-
'PostNLNL-WooCommerce/' . WC_POSTNL_VERSION,
225+
'PostNL-WooCommerce/' . WC_POSTNL_VERSION,
226226
);
227227

228228
//Place white space between the array elements

includes/class-wcmp-nl-postcode-fields.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ class Woocommerce_PostNL_Postcode_Fields {
1313
* Regular expression used to split street name from house number.
1414
* This regex goes from right to left
1515
* Contains php keys to store the data in an array
16-
* Taken from https://github.com/postnlnl/sdk
16+
* Taken from https://github.com/postnl/sdk
1717
*/
1818
const SPLIT_STREET_REGEX = '~(?P<street>.*?)\s?(?P<number>\d{1,4})[/\s\-]{0,2}(?P<number_suffix>[a-zA-Z]{1}\d{1,3}|-\d{1,4}|\d{2}\w{1,2}|[a-zA-Z]{1}[a-zA-Z\s]{0,3})?$~';
1919
private $use_split_address_fields;

0 commit comments

Comments
 (0)