WooCommerce Extra Checkout Fields for Brazil - Version 3.4.5

Version Description

  • 2016/10/09 =

  • Melhorada validao do campo "sexo".

  • Melhorado o registro e carregamento dos scripts do plugin.

Download this release

Release Info

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

Code changes from version 3.4.4 to 3.4.5

assets/css/admin/admin.scss ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #order_data {
2
+
3
+ .order_data_column {
4
+ ._billing_persontype_field,
5
+ ._billing_cpf_field,
6
+ ._billing_rg_field,
7
+ ._billing_cnpj_field,
8
+ ._billing_ie_field {
9
+ clear: both !important;
10
+ width: 100% !important;
11
+ }
12
+
13
+ ._billing_sex_field,
14
+ ._billing_number_field,
15
+ ._shipping_number_field {
16
+ float: right !important;
17
+ }
18
+ }
19
+
20
+ &.panel {
21
+ .order_data_column .address {
22
+ display: none;
23
+ }
24
+
25
+ /* To WooCommerce 1.6.6 or earlier */
26
+ .order_data .address {
27
+ display: none;
28
+ }
29
+ }
30
+ }
includes/class-wc-ecfb-front-end.php CHANGED
@@ -70,6 +70,10 @@ class Extra_Checkout_Fields_For_Brazil_Front_End {
70
  * Register scripts.
71
  */
72
  public function enqueue_scripts() {
 
 
 
 
73
  $suffix = defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ? '' : '.min';
74
 
75
  wp_register_script( 'jquery-maskedinput', plugins_url( 'assets/js/jquery-maskedinput/jquery.maskedinput' . $suffix . '.js', plugin_dir_path( __FILE__ ) ), array( 'jquery' ), '1.4.1', true );
@@ -77,16 +81,9 @@ class Extra_Checkout_Fields_For_Brazil_Front_End {
77
  wp_register_script( 'mailcheck', plugins_url( 'assets/js/mailcheck/mailcheck' . $suffix . '.js', plugin_dir_path( __FILE__ ) ), array( 'jquery' ), '1.1.1', true );
78
 
79
  wp_register_script( 'woocommerce-extra-checkout-fields-for-brazil-front', plugins_url( 'assets/js/frontend/frontend' . $suffix . '.js', plugin_dir_path( __FILE__ ) ), array( 'jquery', 'jquery-maskedinput', 'mailcheck' ), Extra_Checkout_Fields_For_Brazil::VERSION, true );
80
- }
81
 
82
- /**
83
- * Load scripts.
84
- */
85
- public function load_scripts() {
86
  $settings = get_option( 'wcbcf_settings' );
87
  $autofill = isset( $settings['addresscomplete'] ) ? 'yes' : 'no';
88
-
89
- wp_enqueue_script( 'woocommerce-extra-checkout-fields-for-brazil-front' );
90
  wp_localize_script(
91
  'woocommerce-extra-checkout-fields-for-brazil-front',
92
  'wcbcf_public_params',
@@ -102,6 +99,13 @@ class Extra_Checkout_Fields_For_Brazil_Front_End {
102
  );
103
  }
104
 
 
 
 
 
 
 
 
105
  /**
106
  * New checkout billing fields.
107
  *
@@ -221,7 +225,7 @@ class Extra_Checkout_Fields_For_Brazil_Front_End {
221
  'clear' => true,
222
  'required' => true,
223
  'options' => array(
224
- '0' => __( 'Select', 'woocommerce-extra-checkout-fields-for-brazil' ),
225
  __( 'Female', 'woocommerce-extra-checkout-fields-for-brazil' ) => __( 'Female', 'woocommerce-extra-checkout-fields-for-brazil' ),
226
  __( 'Male', 'woocommerce-extra-checkout-fields-for-brazil' ) => __( 'Male', 'woocommerce-extra-checkout-fields-for-brazil' )
227
  )
70
  * Register scripts.
71
  */
72
  public function enqueue_scripts() {
73
+ if ( ! is_checkout() ) {
74
+ return;
75
+ }
76
+
77
  $suffix = defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ? '' : '.min';
78
 
79
  wp_register_script( 'jquery-maskedinput', plugins_url( 'assets/js/jquery-maskedinput/jquery.maskedinput' . $suffix . '.js', plugin_dir_path( __FILE__ ) ), array( 'jquery' ), '1.4.1', true );
81
  wp_register_script( 'mailcheck', plugins_url( 'assets/js/mailcheck/mailcheck' . $suffix . '.js', plugin_dir_path( __FILE__ ) ), array( 'jquery' ), '1.1.1', true );
82
 
83
  wp_register_script( 'woocommerce-extra-checkout-fields-for-brazil-front', plugins_url( 'assets/js/frontend/frontend' . $suffix . '.js', plugin_dir_path( __FILE__ ) ), array( 'jquery', 'jquery-maskedinput', 'mailcheck' ), Extra_Checkout_Fields_For_Brazil::VERSION, true );
 
84
 
 
 
 
 
85
  $settings = get_option( 'wcbcf_settings' );
86
  $autofill = isset( $settings['addresscomplete'] ) ? 'yes' : 'no';
 
 
87
  wp_localize_script(
88
  'woocommerce-extra-checkout-fields-for-brazil-front',
89
  'wcbcf_public_params',
99
  );
100
  }
101
 
102
+ /**
103
+ * Load scripts.
104
+ */
105
+ public function load_scripts() {
106
+ wp_enqueue_script( 'woocommerce-extra-checkout-fields-for-brazil-front' );
107
+ }
108
+
109
  /**
110
  * New checkout billing fields.
111
  *
225
  'clear' => true,
226
  'required' => true,
227
  'options' => array(
228
+ '' => __( 'Select', 'woocommerce-extra-checkout-fields-for-brazil' ),
229
  __( 'Female', 'woocommerce-extra-checkout-fields-for-brazil' ) => __( 'Female', 'woocommerce-extra-checkout-fields-for-brazil' ),
230
  __( 'Male', 'woocommerce-extra-checkout-fields-for-brazil' ) => __( 'Male', 'woocommerce-extra-checkout-fields-for-brazil' )
231
  )
languages/woocommerce-extra-checkout-fields-for-brazil.pot CHANGED
@@ -2,11 +2,11 @@
2
  # This file is distributed under the GPL-2.0+.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: WooCommerce Extra Checkout Fields for Brazil 3.4.4\n"
6
  "Report-Msgid-Bugs-To: "
7
  "https://wordpress.org/support/plugin/woocommerce-extra-checkout-fields-for-"
8
  "brazil\n"
9
- "POT-Creation-Date: 2016-06-20 05:08:04+00:00\n"
10
  "MIME-Version: 1.0\n"
11
  "Content-Type: text/plain; charset=utf-8\n"
12
  "Content-Transfer-Encoding: 8bit\n"
@@ -30,50 +30,50 @@ msgstr ""
30
  #: includes/admin/class-wc-ecfb-customer.php:40
31
  #: includes/admin/class-wc-ecfb-order.php:58
32
  #: includes/admin/class-wc-ecfb-order.php:266
33
- #: includes/class-wc-ecfb-front-end.php:146
34
- #: includes/class-wc-ecfb-front-end.php:160
35
- #: includes/class-wc-ecfb-front-end.php:421
36
  #: includes/class-wc-ecfb-front-end.php:425
 
37
  msgid "CPF"
38
  msgstr ""
39
 
40
  #: includes/admin/class-wc-ecfb-customer.php:46
41
  #: includes/admin/class-wc-ecfb-order.php:62
42
  #: includes/admin/class-wc-ecfb-order.php:269
43
- #: includes/class-wc-ecfb-front-end.php:153
44
- #: includes/class-wc-ecfb-front-end.php:429
45
  msgid "RG"
46
  msgstr ""
47
 
48
  #: includes/admin/class-wc-ecfb-customer.php:55
49
  #: includes/admin/class-wc-ecfb-order.php:72
50
  #: includes/admin/class-wc-ecfb-order.php:275
51
- #: includes/class-wc-ecfb-front-end.php:178
52
- #: includes/class-wc-ecfb-front-end.php:192
53
- #: includes/class-wc-ecfb-front-end.php:440
54
  #: includes/class-wc-ecfb-front-end.php:444
 
55
  msgid "CNPJ"
56
  msgstr ""
57
 
58
  #: includes/admin/class-wc-ecfb-customer.php:61
59
  #: includes/admin/class-wc-ecfb-order.php:76
60
  #: includes/admin/class-wc-ecfb-order.php:278
61
- #: includes/class-wc-ecfb-front-end.php:185
62
- #: includes/class-wc-ecfb-front-end.php:448
63
  msgid "State Registration"
64
  msgstr ""
65
 
66
  #: includes/admin/class-wc-ecfb-customer.php:72
67
  #: includes/admin/class-wc-ecfb-order.php:90
68
  #: includes/admin/class-wc-ecfb-order.php:288
69
- #: includes/class-wc-ecfb-front-end.php:210
70
  msgid "Birthdate"
71
  msgstr ""
72
 
73
  #: includes/admin/class-wc-ecfb-customer.php:76
74
  #: includes/admin/class-wc-ecfb-order.php:93
75
  #: includes/admin/class-wc-ecfb-order.php:291
76
- #: includes/class-wc-ecfb-front-end.php:219
77
  msgid "Sex"
78
  msgstr ""
79
 
@@ -81,8 +81,8 @@ msgstr ""
81
  #: includes/admin/class-wc-ecfb-customer.php:113
82
  #: includes/admin/class-wc-ecfb-order.php:102
83
  #: includes/admin/class-wc-ecfb-order.php:177
84
- #: includes/class-wc-ecfb-front-end.php:247
85
- #: includes/class-wc-ecfb-front-end.php:360
86
  msgid "Number"
87
  msgstr ""
88
 
@@ -90,15 +90,15 @@ msgstr ""
90
  #: includes/admin/class-wc-ecfb-customer.php:118
91
  #: includes/admin/class-wc-ecfb-order.php:110
92
  #: includes/admin/class-wc-ecfb-order.php:185
93
- #: includes/class-wc-ecfb-front-end.php:262
94
- #: includes/class-wc-ecfb-front-end.php:375
95
  msgid "Neighborhood"
96
  msgstr ""
97
 
98
  #: includes/admin/class-wc-ecfb-customer.php:99
99
  #: includes/admin/class-wc-ecfb-order.php:140
100
  #: includes/admin/class-wc-ecfb-order.php:298
101
- #: includes/class-wc-ecfb-front-end.php:288
102
  msgid "Cell Phone"
103
  msgstr ""
104
 
@@ -117,24 +117,24 @@ msgid "Last Name"
117
  msgstr ""
118
 
119
  #: includes/admin/class-wc-ecfb-order.php:47
120
- #: includes/class-wc-ecfb-front-end.php:132
121
- #: includes/class-wc-ecfb-front-end.php:415
122
  msgid "Person type"
123
  msgstr ""
124
 
125
  #: includes/admin/class-wc-ecfb-order.php:49
126
- #: includes/class-wc-ecfb-front-end.php:136
127
- #: includes/class-wc-ecfb-front-end.php:224
128
  msgid "Select"
129
  msgstr ""
130
 
131
  #: includes/admin/class-wc-ecfb-order.php:50
132
- #: includes/class-wc-ecfb-front-end.php:137
133
  msgid "Individuals"
134
  msgstr ""
135
 
136
  #: includes/admin/class-wc-ecfb-order.php:51
137
- #: includes/class-wc-ecfb-front-end.php:138
138
  msgid "Legal Person"
139
  msgstr ""
140
 
@@ -146,7 +146,7 @@ msgstr ""
146
  #: includes/admin/class-wc-ecfb-order.php:83
147
  #: includes/admin/class-wc-ecfb-order.php:169
148
  #: includes/admin/class-wc-ecfb-order.php:282
149
- #: includes/class-wc-ecfb-front-end.php:436
150
  msgid "Company"
151
  msgstr ""
152
 
@@ -167,7 +167,7 @@ msgstr ""
167
 
168
  #: includes/admin/class-wc-ecfb-order.php:118
169
  #: includes/admin/class-wc-ecfb-order.php:193
170
- #: includes/class-wc-ecfb-front-end.php:94
171
  msgid "State"
172
  msgstr ""
173
 
@@ -384,34 +384,34 @@ msgstr ""
384
  msgid "Cell Phone."
385
  msgstr ""
386
 
387
- #: includes/class-wc-ecfb-front-end.php:95
388
  msgid "required"
389
  msgstr ""
390
 
391
- #: includes/class-wc-ecfb-front-end.php:225
392
  msgid "Female"
393
  msgstr ""
394
 
395
- #: includes/class-wc-ecfb-front-end.php:226
396
  msgid "Male"
397
  msgstr ""
398
 
399
- #: includes/class-wc-ecfb-front-end.php:256
400
- #: includes/class-wc-ecfb-front-end.php:369
401
  msgid "Address line 2"
402
  msgstr ""
403
 
404
- #: includes/class-wc-ecfb-front-end.php:415
405
- #: includes/class-wc-ecfb-front-end.php:421
406
- #: includes/class-wc-ecfb-front-end.php:429
407
- #: includes/class-wc-ecfb-front-end.php:436
408
  #: includes/class-wc-ecfb-front-end.php:440
409
- #: includes/class-wc-ecfb-front-end.php:448
 
410
  msgid "is a required field"
411
  msgstr ""
412
 
413
- #: includes/class-wc-ecfb-front-end.php:425
414
- #: includes/class-wc-ecfb-front-end.php:444
415
  msgid "is not valid"
416
  msgstr ""
417
 
@@ -446,46 +446,46 @@ msgstr ""
446
  msgid "http://claudiosmweb.com/"
447
  msgstr ""
448
 
449
- #: includes/class-wc-ecfb-front-end.php:147
450
- #: includes/class-wc-ecfb-front-end.php:161
451
  msgctxt "placeholder"
452
  msgid "CPF"
453
  msgstr ""
454
 
455
- #: includes/class-wc-ecfb-front-end.php:154
456
  msgctxt "placeholder"
457
  msgid "RG"
458
  msgstr ""
459
 
460
- #: includes/class-wc-ecfb-front-end.php:179
461
- #: includes/class-wc-ecfb-front-end.php:193
462
  msgctxt "placeholder"
463
  msgid "CNPJ"
464
  msgstr ""
465
 
466
- #: includes/class-wc-ecfb-front-end.php:186
467
  msgctxt "placeholder"
468
  msgid "State Registration"
469
  msgstr ""
470
 
471
- #: includes/class-wc-ecfb-front-end.php:211
472
  msgctxt "placeholder"
473
  msgid "Birthdate"
474
  msgstr ""
475
 
476
- #: includes/class-wc-ecfb-front-end.php:248
477
- #: includes/class-wc-ecfb-front-end.php:361
478
  msgctxt "placeholder"
479
  msgid "Number"
480
  msgstr ""
481
 
482
- #: includes/class-wc-ecfb-front-end.php:263
483
- #: includes/class-wc-ecfb-front-end.php:376
484
  msgctxt "placeholder"
485
  msgid "Neighborhood"
486
  msgstr ""
487
 
488
- #: includes/class-wc-ecfb-front-end.php:289
489
  msgctxt "placeholder"
490
  msgid "Cell Phone"
491
  msgstr ""
2
  # This file is distributed under the GPL-2.0+.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: WooCommerce Extra Checkout Fields for Brazil 3.4.5\n"
6
  "Report-Msgid-Bugs-To: "
7
  "https://wordpress.org/support/plugin/woocommerce-extra-checkout-fields-for-"
8
  "brazil\n"
9
+ "POT-Creation-Date: 2016-10-19 22:21:13+00:00\n"
10
  "MIME-Version: 1.0\n"
11
  "Content-Type: text/plain; charset=utf-8\n"
12
  "Content-Transfer-Encoding: 8bit\n"
30
  #: includes/admin/class-wc-ecfb-customer.php:40
31
  #: includes/admin/class-wc-ecfb-order.php:58
32
  #: includes/admin/class-wc-ecfb-order.php:266
33
+ #: includes/class-wc-ecfb-front-end.php:150
34
+ #: includes/class-wc-ecfb-front-end.php:164
 
35
  #: includes/class-wc-ecfb-front-end.php:425
36
+ #: includes/class-wc-ecfb-front-end.php:429
37
  msgid "CPF"
38
  msgstr ""
39
 
40
  #: includes/admin/class-wc-ecfb-customer.php:46
41
  #: includes/admin/class-wc-ecfb-order.php:62
42
  #: includes/admin/class-wc-ecfb-order.php:269
43
+ #: includes/class-wc-ecfb-front-end.php:157
44
+ #: includes/class-wc-ecfb-front-end.php:433
45
  msgid "RG"
46
  msgstr ""
47
 
48
  #: includes/admin/class-wc-ecfb-customer.php:55
49
  #: includes/admin/class-wc-ecfb-order.php:72
50
  #: includes/admin/class-wc-ecfb-order.php:275
51
+ #: includes/class-wc-ecfb-front-end.php:182
52
+ #: includes/class-wc-ecfb-front-end.php:196
 
53
  #: includes/class-wc-ecfb-front-end.php:444
54
+ #: includes/class-wc-ecfb-front-end.php:448
55
  msgid "CNPJ"
56
  msgstr ""
57
 
58
  #: includes/admin/class-wc-ecfb-customer.php:61
59
  #: includes/admin/class-wc-ecfb-order.php:76
60
  #: includes/admin/class-wc-ecfb-order.php:278
61
+ #: includes/class-wc-ecfb-front-end.php:189
62
+ #: includes/class-wc-ecfb-front-end.php:452
63
  msgid "State Registration"
64
  msgstr ""
65
 
66
  #: includes/admin/class-wc-ecfb-customer.php:72
67
  #: includes/admin/class-wc-ecfb-order.php:90
68
  #: includes/admin/class-wc-ecfb-order.php:288
69
+ #: includes/class-wc-ecfb-front-end.php:214
70
  msgid "Birthdate"
71
  msgstr ""
72
 
73
  #: includes/admin/class-wc-ecfb-customer.php:76
74
  #: includes/admin/class-wc-ecfb-order.php:93
75
  #: includes/admin/class-wc-ecfb-order.php:291
76
+ #: includes/class-wc-ecfb-front-end.php:223
77
  msgid "Sex"
78
  msgstr ""
79
 
81
  #: includes/admin/class-wc-ecfb-customer.php:113
82
  #: includes/admin/class-wc-ecfb-order.php:102
83
  #: includes/admin/class-wc-ecfb-order.php:177
84
+ #: includes/class-wc-ecfb-front-end.php:251
85
+ #: includes/class-wc-ecfb-front-end.php:364
86
  msgid "Number"
87
  msgstr ""
88
 
90
  #: includes/admin/class-wc-ecfb-customer.php:118
91
  #: includes/admin/class-wc-ecfb-order.php:110
92
  #: includes/admin/class-wc-ecfb-order.php:185
93
+ #: includes/class-wc-ecfb-front-end.php:266
94
+ #: includes/class-wc-ecfb-front-end.php:379
95
  msgid "Neighborhood"
96
  msgstr ""
97
 
98
  #: includes/admin/class-wc-ecfb-customer.php:99
99
  #: includes/admin/class-wc-ecfb-order.php:140
100
  #: includes/admin/class-wc-ecfb-order.php:298
101
+ #: includes/class-wc-ecfb-front-end.php:292
102
  msgid "Cell Phone"
103
  msgstr ""
104
 
117
  msgstr ""
118
 
119
  #: includes/admin/class-wc-ecfb-order.php:47
120
+ #: includes/class-wc-ecfb-front-end.php:136
121
+ #: includes/class-wc-ecfb-front-end.php:419
122
  msgid "Person type"
123
  msgstr ""
124
 
125
  #: includes/admin/class-wc-ecfb-order.php:49
126
+ #: includes/class-wc-ecfb-front-end.php:140
127
+ #: includes/class-wc-ecfb-front-end.php:228
128
  msgid "Select"
129
  msgstr ""
130
 
131
  #: includes/admin/class-wc-ecfb-order.php:50
132
+ #: includes/class-wc-ecfb-front-end.php:141
133
  msgid "Individuals"
134
  msgstr ""
135
 
136
  #: includes/admin/class-wc-ecfb-order.php:51
137
+ #: includes/class-wc-ecfb-front-end.php:142
138
  msgid "Legal Person"
139
  msgstr ""
140
 
146
  #: includes/admin/class-wc-ecfb-order.php:83
147
  #: includes/admin/class-wc-ecfb-order.php:169
148
  #: includes/admin/class-wc-ecfb-order.php:282
149
+ #: includes/class-wc-ecfb-front-end.php:440
150
  msgid "Company"
151
  msgstr ""
152
 
167
 
168
  #: includes/admin/class-wc-ecfb-order.php:118
169
  #: includes/admin/class-wc-ecfb-order.php:193
170
+ #: includes/class-wc-ecfb-front-end.php:91
171
  msgid "State"
172
  msgstr ""
173
 
384
  msgid "Cell Phone."
385
  msgstr ""
386
 
387
+ #: includes/class-wc-ecfb-front-end.php:92
388
  msgid "required"
389
  msgstr ""
390
 
391
+ #: includes/class-wc-ecfb-front-end.php:229
392
  msgid "Female"
393
  msgstr ""
394
 
395
+ #: includes/class-wc-ecfb-front-end.php:230
396
  msgid "Male"
397
  msgstr ""
398
 
399
+ #: includes/class-wc-ecfb-front-end.php:260
400
+ #: includes/class-wc-ecfb-front-end.php:373
401
  msgid "Address line 2"
402
  msgstr ""
403
 
404
+ #: includes/class-wc-ecfb-front-end.php:419
405
+ #: includes/class-wc-ecfb-front-end.php:425
406
+ #: includes/class-wc-ecfb-front-end.php:433
 
407
  #: includes/class-wc-ecfb-front-end.php:440
408
+ #: includes/class-wc-ecfb-front-end.php:444
409
+ #: includes/class-wc-ecfb-front-end.php:452
410
  msgid "is a required field"
411
  msgstr ""
412
 
413
+ #: includes/class-wc-ecfb-front-end.php:429
414
+ #: includes/class-wc-ecfb-front-end.php:448
415
  msgid "is not valid"
416
  msgstr ""
417
 
446
  msgid "http://claudiosmweb.com/"
447
  msgstr ""
448
 
449
+ #: includes/class-wc-ecfb-front-end.php:151
450
+ #: includes/class-wc-ecfb-front-end.php:165
451
  msgctxt "placeholder"
452
  msgid "CPF"
453
  msgstr ""
454
 
455
+ #: includes/class-wc-ecfb-front-end.php:158
456
  msgctxt "placeholder"
457
  msgid "RG"
458
  msgstr ""
459
 
460
+ #: includes/class-wc-ecfb-front-end.php:183
461
+ #: includes/class-wc-ecfb-front-end.php:197
462
  msgctxt "placeholder"
463
  msgid "CNPJ"
464
  msgstr ""
465
 
466
+ #: includes/class-wc-ecfb-front-end.php:190
467
  msgctxt "placeholder"
468
  msgid "State Registration"
469
  msgstr ""
470
 
471
+ #: includes/class-wc-ecfb-front-end.php:215
472
  msgctxt "placeholder"
473
  msgid "Birthdate"
474
  msgstr ""
475
 
476
+ #: includes/class-wc-ecfb-front-end.php:252
477
+ #: includes/class-wc-ecfb-front-end.php:365
478
  msgctxt "placeholder"
479
  msgid "Number"
480
  msgstr ""
481
 
482
+ #: includes/class-wc-ecfb-front-end.php:267
483
+ #: includes/class-wc-ecfb-front-end.php:380
484
  msgctxt "placeholder"
485
  msgid "Neighborhood"
486
  msgstr ""
487
 
488
+ #: includes/class-wc-ecfb-front-end.php:293
489
  msgctxt "placeholder"
490
  msgid "Cell Phone"
491
  msgstr ""
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: claudiosanches
3
  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.5
7
- Stable tag: 3.4.4
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -77,6 +77,11 @@ Você pode contribuir com código-fonte em nossa página no [GitHub](https://git
77
 
78
  == Changelog ==
79
 
 
 
 
 
 
80
  = 3.4.4 - 2016/06/20 =
81
 
82
  * Adicionado suporte a nova API REST do WooCommerce.
@@ -106,7 +111,7 @@ Você pode contribuir com código-fonte em nossa página no [GitHub](https://git
106
 
107
  == Upgrade Notice ==
108
 
109
- = 3.4.3 =
110
 
111
- * Corrigida as mascaras quando não esta preenchendo um endereço brasileiro.
112
- * Incluídos os campos de bairro e número no método WC_Order::get_order_address().
3
  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.6
7
+ Stable tag: 3.4.5
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
77
 
78
  == Changelog ==
79
 
80
+ = 3.4.5 - 2016/10/09 =
81
+
82
+ * Melhorada validação do campo "sexo".
83
+ * Melhorado o registro e carregamento dos scripts do plugin.
84
+
85
  = 3.4.4 - 2016/06/20 =
86
 
87
  * Adicionado suporte a nova API REST do WooCommerce.
111
 
112
  == Upgrade Notice ==
113
 
114
+ = 3.4.5 =
115
 
116
+ * Melhorada validação do campo "sexo".
117
+ * Melhorado o registro e carregamento dos scripts do plugin.
woocommerce-extra-checkout-fields-for-brazil.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: WooCommerce Extra Checkout Fields for Brazil
4
  * Plugin URI: https://github.com/claudiosmweb/woocommerce-extra-checkout-fields-for-brazil
5
  * Description: Adiciona novos campos para Pessoa Física ou Jurídica, Data de Nascimento, Sexo, Número, Bairro e Celular. Além de máscaras em campos, aviso de e-mail incorreto e auto preenchimento dos campos de endereço pelo CEP.
6
- * Version: 3.4.4
7
  * Author: Claudio Sanches
8
  * Author URI: http://claudiosmweb.com/
9
  * Text Domain: woocommerce-extra-checkout-fields-for-brazil
@@ -28,7 +28,7 @@ class Extra_Checkout_Fields_For_Brazil {
28
  *
29
  * @var string
30
  */
31
- const VERSION = '3.4.4';
32
 
33
  /**
34
  * Instance of this class.
3
  * Plugin Name: WooCommerce Extra Checkout Fields for Brazil
4
  * Plugin URI: https://github.com/claudiosmweb/woocommerce-extra-checkout-fields-for-brazil
5
  * Description: Adiciona novos campos para Pessoa Física ou Jurídica, Data de Nascimento, Sexo, Número, Bairro e Celular. Além de máscaras em campos, aviso de e-mail incorreto e auto preenchimento dos campos de endereço pelo CEP.
6
+ * Version: 3.4.5
7
  * Author: Claudio Sanches
8
  * Author URI: http://claudiosmweb.com/
9
  * Text Domain: woocommerce-extra-checkout-fields-for-brazil
28
  *
29
  * @var string
30
  */
31
+ const VERSION = '3.4.5';
32
 
33
  /**
34
  * Instance of this class.