Version Description
2019/09/26 =
Correo de um bug no WooCommerce gerando a palavra "Array" na lista de endereo de entrega.
Download this release
Release Info
| Developer | claudiosanches |
| Plugin | |
| Version | 3.7.2 |
| Comparing to | |
| See all releases | |
Code changes from version 3.7.1 to 3.7.2
includes/class-extra-checkout-fields-for-brazil-front-end.php
CHANGED
|
@@ -517,7 +517,9 @@ class Extra_Checkout_Fields_For_Brazil_Front_End {
|
|
| 517 |
* @return array New address format.
|
| 518 |
*/
|
| 519 |
public function order_formatted_shipping_address( $address, $order ) {
|
| 520 |
-
$address
|
|
|
|
|
|
|
| 521 |
|
| 522 |
// WooCommerce 3.0 or later.
|
| 523 |
if ( method_exists( $order, 'get_meta' ) ) {
|
| 517 |
* @return array New address format.
|
| 518 |
*/
|
| 519 |
public function order_formatted_shipping_address( $address, $order ) {
|
| 520 |
+
if ( ! is_array( $address ) ) {
|
| 521 |
+
return $address;
|
| 522 |
+
}
|
| 523 |
|
| 524 |
// WooCommerce 3.0 or later.
|
| 525 |
if ( method_exists( $order, 'get_meta' ) ) {
|
readme.txt
CHANGED
|
@@ -4,7 +4,7 @@ Donate link: http://claudiosmweb.com/doacoes/
|
|
| 4 |
Tags: woocommerce, checkout, brazil, cpf, cpnj
|
| 5 |
Requires at least: 3.5
|
| 6 |
Tested up to: 5.2
|
| 7 |
-
Stable tag: 3.7.
|
| 8 |
License: GPLv2 or later
|
| 9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
| 10 |
|
|
@@ -66,6 +66,10 @@ Você pode contribuir com código-fonte em nossa página no [GitHub](https://git
|
|
| 66 |
|
| 67 |
== Changelog ==
|
| 68 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 69 |
= 3.7.1 - 2019/09/24 =
|
| 70 |
|
| 71 |
- Corrigido bug causado pelo WooCommerce na exibição do endereço de entrega na lista de pedidos no painel admininstrativo.
|
|
@@ -98,7 +102,7 @@ Você pode contribuir com código-fonte em nossa página no [GitHub](https://git
|
|
| 98 |
|
| 99 |
== Upgrade Notice ==
|
| 100 |
|
| 101 |
-
= 3.7.
|
| 102 |
|
| 103 |
- Nome do plugin alterado de "WooCommerce Extra Checkout Fields for Brazil" to "Brazilian Market on WooCommerce".
|
| 104 |
- Removida opção obsoleta de preenchimento de endereço, no lugar dela utilize a integração direta que existe no plugin "Claudio Sanches - Correios for WooCommerce".
|
| 4 |
Tags: woocommerce, checkout, brazil, cpf, cpnj
|
| 5 |
Requires at least: 3.5
|
| 6 |
Tested up to: 5.2
|
| 7 |
+
Stable tag: 3.7.2
|
| 8 |
License: GPLv2 or later
|
| 9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
| 10 |
|
| 66 |
|
| 67 |
== Changelog ==
|
| 68 |
|
| 69 |
+
= 3.7.2 - 2019/09/26 =
|
| 70 |
+
|
| 71 |
+
- Correção de um bug no WooCommerce gerando a palavra "Array" na lista de endereço de entrega.
|
| 72 |
+
|
| 73 |
= 3.7.1 - 2019/09/24 =
|
| 74 |
|
| 75 |
- Corrigido bug causado pelo WooCommerce na exibição do endereço de entrega na lista de pedidos no painel admininstrativo.
|
| 102 |
|
| 103 |
== Upgrade Notice ==
|
| 104 |
|
| 105 |
+
= 3.7.2 =
|
| 106 |
|
| 107 |
- Nome do plugin alterado de "WooCommerce Extra Checkout Fields for Brazil" to "Brazilian Market on WooCommerce".
|
| 108 |
- Removida opção obsoleta de preenchimento de endereço, no lugar dela utilize a integração direta que existe no plugin "Claudio Sanches - Correios for WooCommerce".
|
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.7.
|
| 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.7.
|
| 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.7.2
|
| 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.7.2';
|
| 47 |
|
| 48 |
/**
|
| 49 |
* Instance of this class.
|
