WooCommerce Extra Checkout Fields for Brazil - Version 3.5.1

Version Description

  • 2017/04/26 =

  • Corrigido o posicionamento do campo de CEP.

  • Corrigida a validao de CPNJ.

Download this release

Release Info

Developer claudiosanches
Plugin Icon 128x128 WooCommerce Extra Checkout Fields for Brazil
Version 3.5.1
Comparing to
See all releases

Code changes from version 3.5.0 to 3.5.1

includes/admin/class-extra-checkout-fields-for-brazil-settings.php CHANGED
@@ -298,7 +298,7 @@ class Extra_Checkout_Fields_For_Brazil_Settings {
298
  foreach ( $input as $key => $value ) {
299
  // Check to see if the current option has a value. If so, process it.
300
  if ( isset( $input[ $key ] ) ) {
301
- $output[ $key ] = woocommerce_clean( $input[ $key ] );
302
  }
303
  }
304
 
298
  foreach ( $input as $key => $value ) {
299
  // Check to see if the current option has a value. If so, process it.
300
  if ( isset( $input[ $key ] ) ) {
301
+ $output[ $key ] = sanitize_text_field( $input[ $key ] );
302
  }
303
  }
304
 
includes/class-extra-checkout-fields-for-brazil-formatting.php CHANGED
@@ -63,7 +63,7 @@ class Extra_Checkout_Fields_For_Brazil_Formatting {
63
  $d += $cnpj[ $c ] * $p;
64
  }
65
 
66
- if ( $cnpj[ ++$t ] !== ( $d = ( ( 10 * $d ) % 11 ) % 10 ) ) {
67
  return false;
68
  }
69
  }
63
  $d += $cnpj[ $c ] * $p;
64
  }
65
 
66
+ if ( intval( $cnpj[ ++$t ] ) !== ( $d = ( ( 10 * $d ) % 11 ) % 10 ) ) {
67
  return false;
68
  }
69
  }
includes/class-extra-checkout-fields-for-brazil-front-end.php CHANGED
@@ -26,9 +26,10 @@ class Extra_Checkout_Fields_For_Brazil_Front_End {
26
  // New checkout fields.
27
  add_filter( 'woocommerce_billing_fields', array( $this, 'checkout_billing_fields' ), 10 );
28
  add_filter( 'woocommerce_shipping_fields', array( $this, 'checkout_shipping_fields' ), 10 );
 
29
 
30
  // Valid checkout fields.
31
- add_action( 'woocommerce_checkout_process', array( $this, 'valid_checkout_fields' ) );
32
 
33
  // Custom address format.
34
  add_filter( 'woocommerce_localisation_address_formats', array( $this, 'localisation_address_formats' ) );
@@ -388,6 +389,22 @@ class Extra_Checkout_Fields_For_Brazil_Front_End {
388
  return apply_filters( 'wcbcf_shipping_fields', $new_fields );
389
  }
390
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
391
  /**
392
  * Valid checkout fields.
393
  *
26
  // New checkout fields.
27
  add_filter( 'woocommerce_billing_fields', array( $this, 'checkout_billing_fields' ), 10 );
28
  add_filter( 'woocommerce_shipping_fields', array( $this, 'checkout_shipping_fields' ), 10 );
29
+ add_filter( 'woocommerce_get_country_locale', array( $this, 'address_fields_priority' ), 10 );
30
 
31
  // Valid checkout fields.
32
+ add_action( 'woocommerce_checkout_process', array( $this, 'valid_checkout_fields' ), 10 );
33
 
34
  // Custom address format.
35
  add_filter( 'woocommerce_localisation_address_formats', array( $this, 'localisation_address_formats' ) );
389
  return apply_filters( 'wcbcf_shipping_fields', $new_fields );
390
  }
391
 
392
+ /**
393
+ * Update address fields priority.
394
+ *
395
+ * @param array $locales Default WooCommerce locales.
396
+ * @return array
397
+ */
398
+ public function address_fields_priority( $locales ) {
399
+ $locales['BR'] = array(
400
+ 'postcode' => array(
401
+ 'priority' => 45,
402
+ ),
403
+ );
404
+
405
+ return $locales;
406
+ }
407
+
408
  /**
409
  * Valid checkout fields.
410
  *
languages/woocommerce-extra-checkout-fields-for-brazil.pot CHANGED
@@ -2,11 +2,11 @@
2
  # This file is distributed under the GPLv2 or later.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: WooCommerce Extra Checkout Fields for Brazil 3.5.0\n"
6
  "Report-Msgid-Bugs-To: "
7
  "https://wordpress.org/support/plugin/woocommerce-extra-checkout-fields-for-"
8
  "brazil\n"
9
- "POT-Creation-Date: 2017-04-03 07:02:17+00:00\n"
10
  "MIME-Version: 1.0\n"
11
  "Content-Type: text/plain; charset=utf-8\n"
12
  "Content-Transfer-Encoding: 8bit\n"
@@ -31,10 +31,10 @@ msgstr ""
31
  #: includes/admin/class-extra-checkout-fields-for-brazil-order.php:66
32
  #: includes/admin/views/html-legacy-order-billing-data.php:22
33
  #: includes/admin/views/html-order-billing-data.php:22
34
- #: includes/class-extra-checkout-fields-for-brazil-front-end.php:124
35
- #: includes/class-extra-checkout-fields-for-brazil-front-end.php:141
36
- #: includes/class-extra-checkout-fields-for-brazil-front-end.php:418
37
- #: includes/class-extra-checkout-fields-for-brazil-front-end.php:422
38
  msgid "CPF"
39
  msgstr ""
40
 
@@ -42,8 +42,8 @@ msgstr ""
42
  #: includes/admin/class-extra-checkout-fields-for-brazil-order.php:71
43
  #: includes/admin/views/html-legacy-order-billing-data.php:24
44
  #: includes/admin/views/html-order-billing-data.php:24
45
- #: includes/class-extra-checkout-fields-for-brazil-front-end.php:133
46
- #: includes/class-extra-checkout-fields-for-brazil-front-end.php:426
47
  msgid "RG"
48
  msgstr ""
49
 
@@ -51,10 +51,10 @@ msgstr ""
51
  #: includes/admin/class-extra-checkout-fields-for-brazil-order.php:83
52
  #: includes/admin/views/html-legacy-order-billing-data.php:30
53
  #: includes/admin/views/html-order-billing-data.php:30
54
- #: includes/class-extra-checkout-fields-for-brazil-front-end.php:162
55
- #: includes/class-extra-checkout-fields-for-brazil-front-end.php:179
56
- #: includes/class-extra-checkout-fields-for-brazil-front-end.php:437
57
- #: includes/class-extra-checkout-fields-for-brazil-front-end.php:441
58
  msgid "CNPJ"
59
  msgstr ""
60
 
@@ -62,8 +62,8 @@ msgstr ""
62
  #: includes/admin/class-extra-checkout-fields-for-brazil-order.php:88
63
  #: includes/admin/views/html-legacy-order-billing-data.php:33
64
  #: includes/admin/views/html-order-billing-data.php:33
65
- #: includes/class-extra-checkout-fields-for-brazil-front-end.php:171
66
- #: includes/class-extra-checkout-fields-for-brazil-front-end.php:445
67
  msgid "State Registration"
68
  msgstr ""
69
 
@@ -71,7 +71,7 @@ msgstr ""
71
  #: includes/admin/class-extra-checkout-fields-for-brazil-order.php:102
72
  #: includes/admin/views/html-legacy-order-billing-data.php:41
73
  #: includes/admin/views/html-order-billing-data.php:41
74
- #: includes/class-extra-checkout-fields-for-brazil-front-end.php:198
75
  msgid "Birthdate"
76
  msgstr ""
77
 
@@ -79,7 +79,7 @@ msgstr ""
79
  #: includes/admin/class-extra-checkout-fields-for-brazil-order.php:106
80
  #: includes/admin/views/html-legacy-order-billing-data.php:42
81
  #: includes/admin/views/html-order-billing-data.php:42
82
- #: includes/class-extra-checkout-fields-for-brazil-front-end.php:208
83
  msgid "Sex"
84
  msgstr ""
85
 
@@ -87,8 +87,8 @@ msgstr ""
87
  #: includes/admin/class-extra-checkout-fields-for-brazil-customer.php:120
88
  #: includes/admin/class-extra-checkout-fields-for-brazil-order.php:113
89
  #: includes/admin/class-extra-checkout-fields-for-brazil-order.php:154
90
- #: includes/class-extra-checkout-fields-for-brazil-front-end.php:238
91
- #: includes/class-extra-checkout-fields-for-brazil-front-end.php:355
92
  msgid "Number"
93
  msgstr ""
94
 
@@ -96,8 +96,8 @@ msgstr ""
96
  #: includes/admin/class-extra-checkout-fields-for-brazil-customer.php:125
97
  #: includes/admin/class-extra-checkout-fields-for-brazil-order.php:118
98
  #: includes/admin/class-extra-checkout-fields-for-brazil-order.php:159
99
- #: includes/class-extra-checkout-fields-for-brazil-front-end.php:254
100
- #: includes/class-extra-checkout-fields-for-brazil-front-end.php:371
101
  msgid "Neighborhood"
102
  msgstr ""
103
 
@@ -105,7 +105,7 @@ msgstr ""
105
  #: includes/admin/class-extra-checkout-fields-for-brazil-order.php:130
106
  #: includes/admin/views/html-legacy-order-billing-data.php:48
107
  #: includes/admin/views/html-order-billing-data.php:48
108
- #: includes/class-extra-checkout-fields-for-brazil-front-end.php:281
109
  msgid "Cell Phone"
110
  msgstr ""
111
 
@@ -114,24 +114,24 @@ msgid "Customer Shipping Address"
114
  msgstr ""
115
 
116
  #: includes/admin/class-extra-checkout-fields-for-brazil-order.php:54
117
- #: includes/class-extra-checkout-fields-for-brazil-front-end.php:109
118
- #: includes/class-extra-checkout-fields-for-brazil-front-end.php:412
119
  msgid "Person type"
120
  msgstr ""
121
 
122
  #: includes/admin/class-extra-checkout-fields-for-brazil-order.php:57
123
- #: includes/class-extra-checkout-fields-for-brazil-front-end.php:113
124
- #: includes/class-extra-checkout-fields-for-brazil-front-end.php:213
125
  msgid "Select"
126
  msgstr ""
127
 
128
  #: includes/admin/class-extra-checkout-fields-for-brazil-order.php:58
129
- #: includes/class-extra-checkout-fields-for-brazil-front-end.php:114
130
  msgid "Individuals"
131
  msgstr ""
132
 
133
  #: includes/admin/class-extra-checkout-fields-for-brazil-order.php:59
134
- #: includes/class-extra-checkout-fields-for-brazil-front-end.php:115
135
  msgid "Legal Person"
136
  msgstr ""
137
 
@@ -144,7 +144,7 @@ msgstr ""
144
  #: includes/admin/class-extra-checkout-fields-for-brazil-order.php:95
145
  #: includes/admin/views/html-legacy-order-billing-data.php:37
146
  #: includes/admin/views/html-order-billing-data.php:37
147
- #: includes/class-extra-checkout-fields-for-brazil-front-end.php:433
148
  msgid "Company"
149
  msgstr ""
150
 
@@ -348,38 +348,38 @@ msgstr ""
348
  msgid "Cell Phone."
349
  msgstr ""
350
 
351
- #: includes/class-extra-checkout-fields-for-brazil-front-end.php:62
352
  msgid "State"
353
  msgstr ""
354
 
355
- #: includes/class-extra-checkout-fields-for-brazil-front-end.php:63
356
  msgid "required"
357
  msgstr ""
358
 
359
- #: includes/class-extra-checkout-fields-for-brazil-front-end.php:214
360
  msgid "Female"
361
  msgstr ""
362
 
363
- #: includes/class-extra-checkout-fields-for-brazil-front-end.php:215
364
  msgid "Male"
365
  msgstr ""
366
 
367
- #: includes/class-extra-checkout-fields-for-brazil-front-end.php:248
368
- #: includes/class-extra-checkout-fields-for-brazil-front-end.php:365
369
  msgid "Address line 2"
370
  msgstr ""
371
 
372
- #: includes/class-extra-checkout-fields-for-brazil-front-end.php:412
373
- #: includes/class-extra-checkout-fields-for-brazil-front-end.php:418
374
- #: includes/class-extra-checkout-fields-for-brazil-front-end.php:426
375
- #: includes/class-extra-checkout-fields-for-brazil-front-end.php:433
376
- #: includes/class-extra-checkout-fields-for-brazil-front-end.php:437
377
- #: includes/class-extra-checkout-fields-for-brazil-front-end.php:445
378
  msgid "is a required field"
379
  msgstr ""
380
 
381
- #: includes/class-extra-checkout-fields-for-brazil-front-end.php:422
382
- #: includes/class-extra-checkout-fields-for-brazil-front-end.php:441
383
  msgid "is not valid"
384
  msgstr ""
385
 
@@ -419,46 +419,46 @@ msgstr ""
419
  msgid "https://claudiosanches.com"
420
  msgstr ""
421
 
422
- #: includes/class-extra-checkout-fields-for-brazil-front-end.php:125
423
- #: includes/class-extra-checkout-fields-for-brazil-front-end.php:142
424
  msgctxt "placeholder"
425
  msgid "CPF"
426
  msgstr ""
427
 
428
- #: includes/class-extra-checkout-fields-for-brazil-front-end.php:134
429
  msgctxt "placeholder"
430
  msgid "RG"
431
  msgstr ""
432
 
433
- #: includes/class-extra-checkout-fields-for-brazil-front-end.php:163
434
- #: includes/class-extra-checkout-fields-for-brazil-front-end.php:180
435
  msgctxt "placeholder"
436
  msgid "CNPJ"
437
  msgstr ""
438
 
439
- #: includes/class-extra-checkout-fields-for-brazil-front-end.php:172
440
  msgctxt "placeholder"
441
  msgid "State Registration"
442
  msgstr ""
443
 
444
- #: includes/class-extra-checkout-fields-for-brazil-front-end.php:199
445
  msgctxt "placeholder"
446
  msgid "Birthdate"
447
  msgstr ""
448
 
449
- #: includes/class-extra-checkout-fields-for-brazil-front-end.php:239
450
- #: includes/class-extra-checkout-fields-for-brazil-front-end.php:356
451
  msgctxt "placeholder"
452
  msgid "Number"
453
  msgstr ""
454
 
455
- #: includes/class-extra-checkout-fields-for-brazil-front-end.php:255
456
- #: includes/class-extra-checkout-fields-for-brazil-front-end.php:372
457
  msgctxt "placeholder"
458
  msgid "Neighborhood"
459
  msgstr ""
460
 
461
- #: includes/class-extra-checkout-fields-for-brazil-front-end.php:282
462
  msgctxt "placeholder"
463
  msgid "Cell Phone"
464
  msgstr ""
2
  # This file is distributed under the GPLv2 or later.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: WooCommerce Extra Checkout Fields for Brazil 3.5.1\n"
6
  "Report-Msgid-Bugs-To: "
7
  "https://wordpress.org/support/plugin/woocommerce-extra-checkout-fields-for-"
8
  "brazil\n"
9
+ "POT-Creation-Date: 2017-04-26 04:55:47+00:00\n"
10
  "MIME-Version: 1.0\n"
11
  "Content-Type: text/plain; charset=utf-8\n"
12
  "Content-Transfer-Encoding: 8bit\n"
31
  #: includes/admin/class-extra-checkout-fields-for-brazil-order.php:66
32
  #: includes/admin/views/html-legacy-order-billing-data.php:22
33
  #: includes/admin/views/html-order-billing-data.php:22
34
+ #: includes/class-extra-checkout-fields-for-brazil-front-end.php:125
35
+ #: includes/class-extra-checkout-fields-for-brazil-front-end.php:142
36
+ #: includes/class-extra-checkout-fields-for-brazil-front-end.php:435
37
+ #: includes/class-extra-checkout-fields-for-brazil-front-end.php:439
38
  msgid "CPF"
39
  msgstr ""
40
 
42
  #: includes/admin/class-extra-checkout-fields-for-brazil-order.php:71
43
  #: includes/admin/views/html-legacy-order-billing-data.php:24
44
  #: includes/admin/views/html-order-billing-data.php:24
45
+ #: includes/class-extra-checkout-fields-for-brazil-front-end.php:134
46
+ #: includes/class-extra-checkout-fields-for-brazil-front-end.php:443
47
  msgid "RG"
48
  msgstr ""
49
 
51
  #: includes/admin/class-extra-checkout-fields-for-brazil-order.php:83
52
  #: includes/admin/views/html-legacy-order-billing-data.php:30
53
  #: includes/admin/views/html-order-billing-data.php:30
54
+ #: includes/class-extra-checkout-fields-for-brazil-front-end.php:163
55
+ #: includes/class-extra-checkout-fields-for-brazil-front-end.php:180
56
+ #: includes/class-extra-checkout-fields-for-brazil-front-end.php:454
57
+ #: includes/class-extra-checkout-fields-for-brazil-front-end.php:458
58
  msgid "CNPJ"
59
  msgstr ""
60
 
62
  #: includes/admin/class-extra-checkout-fields-for-brazil-order.php:88
63
  #: includes/admin/views/html-legacy-order-billing-data.php:33
64
  #: includes/admin/views/html-order-billing-data.php:33
65
+ #: includes/class-extra-checkout-fields-for-brazil-front-end.php:172
66
+ #: includes/class-extra-checkout-fields-for-brazil-front-end.php:462
67
  msgid "State Registration"
68
  msgstr ""
69
 
71
  #: includes/admin/class-extra-checkout-fields-for-brazil-order.php:102
72
  #: includes/admin/views/html-legacy-order-billing-data.php:41
73
  #: includes/admin/views/html-order-billing-data.php:41
74
+ #: includes/class-extra-checkout-fields-for-brazil-front-end.php:199
75
  msgid "Birthdate"
76
  msgstr ""
77
 
79
  #: includes/admin/class-extra-checkout-fields-for-brazil-order.php:106
80
  #: includes/admin/views/html-legacy-order-billing-data.php:42
81
  #: includes/admin/views/html-order-billing-data.php:42
82
+ #: includes/class-extra-checkout-fields-for-brazil-front-end.php:209
83
  msgid "Sex"
84
  msgstr ""
85
 
87
  #: includes/admin/class-extra-checkout-fields-for-brazil-customer.php:120
88
  #: includes/admin/class-extra-checkout-fields-for-brazil-order.php:113
89
  #: includes/admin/class-extra-checkout-fields-for-brazil-order.php:154
90
+ #: includes/class-extra-checkout-fields-for-brazil-front-end.php:239
91
+ #: includes/class-extra-checkout-fields-for-brazil-front-end.php:356
92
  msgid "Number"
93
  msgstr ""
94
 
96
  #: includes/admin/class-extra-checkout-fields-for-brazil-customer.php:125
97
  #: includes/admin/class-extra-checkout-fields-for-brazil-order.php:118
98
  #: includes/admin/class-extra-checkout-fields-for-brazil-order.php:159
99
+ #: includes/class-extra-checkout-fields-for-brazil-front-end.php:255
100
+ #: includes/class-extra-checkout-fields-for-brazil-front-end.php:372
101
  msgid "Neighborhood"
102
  msgstr ""
103
 
105
  #: includes/admin/class-extra-checkout-fields-for-brazil-order.php:130
106
  #: includes/admin/views/html-legacy-order-billing-data.php:48
107
  #: includes/admin/views/html-order-billing-data.php:48
108
+ #: includes/class-extra-checkout-fields-for-brazil-front-end.php:282
109
  msgid "Cell Phone"
110
  msgstr ""
111
 
114
  msgstr ""
115
 
116
  #: includes/admin/class-extra-checkout-fields-for-brazil-order.php:54
117
+ #: includes/class-extra-checkout-fields-for-brazil-front-end.php:110
118
+ #: includes/class-extra-checkout-fields-for-brazil-front-end.php:429
119
  msgid "Person type"
120
  msgstr ""
121
 
122
  #: includes/admin/class-extra-checkout-fields-for-brazil-order.php:57
123
+ #: includes/class-extra-checkout-fields-for-brazil-front-end.php:114
124
+ #: includes/class-extra-checkout-fields-for-brazil-front-end.php:214
125
  msgid "Select"
126
  msgstr ""
127
 
128
  #: includes/admin/class-extra-checkout-fields-for-brazil-order.php:58
129
+ #: includes/class-extra-checkout-fields-for-brazil-front-end.php:115
130
  msgid "Individuals"
131
  msgstr ""
132
 
133
  #: includes/admin/class-extra-checkout-fields-for-brazil-order.php:59
134
+ #: includes/class-extra-checkout-fields-for-brazil-front-end.php:116
135
  msgid "Legal Person"
136
  msgstr ""
137
 
144
  #: includes/admin/class-extra-checkout-fields-for-brazil-order.php:95
145
  #: includes/admin/views/html-legacy-order-billing-data.php:37
146
  #: includes/admin/views/html-order-billing-data.php:37
147
+ #: includes/class-extra-checkout-fields-for-brazil-front-end.php:450
148
  msgid "Company"
149
  msgstr ""
150
 
348
  msgid "Cell Phone."
349
  msgstr ""
350
 
351
+ #: includes/class-extra-checkout-fields-for-brazil-front-end.php:63
352
  msgid "State"
353
  msgstr ""
354
 
355
+ #: includes/class-extra-checkout-fields-for-brazil-front-end.php:64
356
  msgid "required"
357
  msgstr ""
358
 
359
+ #: includes/class-extra-checkout-fields-for-brazil-front-end.php:215
360
  msgid "Female"
361
  msgstr ""
362
 
363
+ #: includes/class-extra-checkout-fields-for-brazil-front-end.php:216
364
  msgid "Male"
365
  msgstr ""
366
 
367
+ #: includes/class-extra-checkout-fields-for-brazil-front-end.php:249
368
+ #: includes/class-extra-checkout-fields-for-brazil-front-end.php:366
369
  msgid "Address line 2"
370
  msgstr ""
371
 
372
+ #: includes/class-extra-checkout-fields-for-brazil-front-end.php:429
373
+ #: includes/class-extra-checkout-fields-for-brazil-front-end.php:435
374
+ #: includes/class-extra-checkout-fields-for-brazil-front-end.php:443
375
+ #: includes/class-extra-checkout-fields-for-brazil-front-end.php:450
376
+ #: includes/class-extra-checkout-fields-for-brazil-front-end.php:454
377
+ #: includes/class-extra-checkout-fields-for-brazil-front-end.php:462
378
  msgid "is a required field"
379
  msgstr ""
380
 
381
+ #: includes/class-extra-checkout-fields-for-brazil-front-end.php:439
382
+ #: includes/class-extra-checkout-fields-for-brazil-front-end.php:458
383
  msgid "is not valid"
384
  msgstr ""
385
 
419
  msgid "https://claudiosanches.com"
420
  msgstr ""
421
 
422
+ #: includes/class-extra-checkout-fields-for-brazil-front-end.php:126
423
+ #: includes/class-extra-checkout-fields-for-brazil-front-end.php:143
424
  msgctxt "placeholder"
425
  msgid "CPF"
426
  msgstr ""
427
 
428
+ #: includes/class-extra-checkout-fields-for-brazil-front-end.php:135
429
  msgctxt "placeholder"
430
  msgid "RG"
431
  msgstr ""
432
 
433
+ #: includes/class-extra-checkout-fields-for-brazil-front-end.php:164
434
+ #: includes/class-extra-checkout-fields-for-brazil-front-end.php:181
435
  msgctxt "placeholder"
436
  msgid "CNPJ"
437
  msgstr ""
438
 
439
+ #: includes/class-extra-checkout-fields-for-brazil-front-end.php:173
440
  msgctxt "placeholder"
441
  msgid "State Registration"
442
  msgstr ""
443
 
444
+ #: includes/class-extra-checkout-fields-for-brazil-front-end.php:200
445
  msgctxt "placeholder"
446
  msgid "Birthdate"
447
  msgstr ""
448
 
449
+ #: includes/class-extra-checkout-fields-for-brazil-front-end.php:240
450
+ #: includes/class-extra-checkout-fields-for-brazil-front-end.php:357
451
  msgctxt "placeholder"
452
  msgid "Number"
453
  msgstr ""
454
 
455
+ #: includes/class-extra-checkout-fields-for-brazil-front-end.php:256
456
+ #: includes/class-extra-checkout-fields-for-brazil-front-end.php:373
457
  msgctxt "placeholder"
458
  msgid "Neighborhood"
459
  msgstr ""
460
 
461
+ #: includes/class-extra-checkout-fields-for-brazil-front-end.php:283
462
  msgctxt "placeholder"
463
  msgid "Cell Phone"
464
  msgstr ""
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://claudiosmweb.com/doacoes/
4
  Tags: woocommerce, checkout, brazil, cpf, cpnj, rg, ie
5
  Requires at least: 3.5
6
  Tested up to: 4.7
7
- Stable tag: 3.5.0
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -65,6 +65,11 @@ Você pode contribuir com código-fonte em nossa página no [GitHub](https://git
65
 
66
  == Changelog ==
67
 
 
 
 
 
 
68
  = 3.5.0 - 2017/03/04 =
69
 
70
  - Adicionado suporte ao WooCommerce 3.0.
@@ -75,6 +80,6 @@ Você pode contribuir com código-fonte em nossa página no [GitHub](https://git
75
 
76
  == Upgrade Notice ==
77
 
78
- = 3.5.0 =
79
 
80
- - Suporte ao WooCommerce 3.0, correção das máscaras no mobile e outras correções.
4
  Tags: woocommerce, checkout, brazil, cpf, cpnj, rg, ie
5
  Requires at least: 3.5
6
  Tested up to: 4.7
7
+ Stable tag: 3.5.1
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
65
 
66
  == Changelog ==
67
 
68
+ = 3.5.1 - 2017/04/26 =
69
+
70
+ - Corrigido o posicionamento do campo de CEP.
71
+ - Corrigida a validação de CPNJ.
72
+
73
  = 3.5.0 - 2017/03/04 =
74
 
75
  - Adicionado suporte ao WooCommerce 3.0.
80
 
81
  == Upgrade Notice ==
82
 
83
+ = 3.5.1 =
84
 
85
+ - Suporte ao WooCommerce 3.0, correção das máscaras no mobile e outras correções.
woocommerce-extra-checkout-fields-for-brazil.php CHANGED
@@ -5,7 +5,7 @@
5
  * Description: Adds new checkout fields, field masks and other things necessary to properly work with WooCommerce on Brazil.
6
  * Author: Claudio Sanches
7
  * Author URI: https://claudiosanches.com
8
- * Version: 3.5.0
9
  * License: GPLv2 or later
10
  * Text Domain: woocommerce-extra-checkout-fields-for-brazil
11
  * Domain Path: /languages
@@ -43,7 +43,7 @@ class Extra_Checkout_Fields_For_Brazil {
43
  *
44
  * @var string
45
  */
46
- const VERSION = '3.5.0';
47
 
48
  /**
49
  * Instance of this class.
5
  * Description: Adds new checkout fields, field masks and other things necessary to properly work with WooCommerce on Brazil.
6
  * Author: Claudio Sanches
7
  * Author URI: https://claudiosanches.com
8
+ * Version: 3.5.1
9
  * License: GPLv2 or later
10
  * Text Domain: woocommerce-extra-checkout-fields-for-brazil
11
  * Domain Path: /languages
43
  *
44
  * @var string
45
  */
46
+ const VERSION = '3.5.1';
47
 
48
  /**
49
  * Instance of this class.