Version Description
2016/06/28 =
Corrigida as unidades de medidas dos mtodos internacionais.
Download this release
Release Info
| Developer | claudiosanches |
| Plugin | |
| Version | 3.0.3 |
| Comparing to | |
| See all releases | |
Code changes from version 3.0.2 to 3.0.3
includes/class-wc-correios-webservice-international.php
CHANGED
|
@@ -143,10 +143,10 @@ class WC_Correios_Webservice_International {
|
|
| 143 |
if ( ! is_null( $package ) ) {
|
| 144 |
$data = $package->get_data();
|
| 145 |
|
| 146 |
-
$this->set_height( $data['height'] );
|
| 147 |
-
$this->set_width( $data['width'] );
|
| 148 |
-
$this->set_length( $data['length'] );
|
| 149 |
-
$this->set_weight( $data['weight'] );
|
| 150 |
}
|
| 151 |
|
| 152 |
if ( 'yes' == $this->debug ) {
|
| 143 |
if ( ! is_null( $package ) ) {
|
| 144 |
$data = $package->get_data();
|
| 145 |
|
| 146 |
+
$this->set_height( wc_get_dimension( $data['height'], 'mm' ) );
|
| 147 |
+
$this->set_width( wc_get_dimension( $data['width'], 'mm' ) );
|
| 148 |
+
$this->set_length( wc_get_dimension( $data['length'], 'mm' ) );
|
| 149 |
+
$this->set_weight( wc_get_weight( $data['weight'], 'g' ) );
|
| 150 |
}
|
| 151 |
|
| 152 |
if ( 'yes' == $this->debug ) {
|
languages/woocommerce-correios.pot
CHANGED
|
@@ -2,9 +2,9 @@
|
|
| 2 |
# This file is distributed under the GPLv2 or later.
|
| 3 |
msgid ""
|
| 4 |
msgstr ""
|
| 5 |
-
"Project-Id-Version: WooCommerce Correios 3.0.
|
| 6 |
"Report-Msgid-Bugs-To: https://wordpress.org/plugins/woocommerce-domination/\n"
|
| 7 |
-
"POT-Creation-Date: 2016-06-28
|
| 8 |
"MIME-Version: 1.0\n"
|
| 9 |
"Content-Type: text/plain; charset=utf-8\n"
|
| 10 |
"Content-Transfer-Encoding: 8bit\n"
|
| 2 |
# This file is distributed under the GPLv2 or later.
|
| 3 |
msgid ""
|
| 4 |
msgstr ""
|
| 5 |
+
"Project-Id-Version: WooCommerce Correios 3.0.3\n"
|
| 6 |
"Report-Msgid-Bugs-To: https://wordpress.org/plugins/woocommerce-domination/\n"
|
| 7 |
+
"POT-Creation-Date: 2016-06-28 22:47:12+00:00\n"
|
| 8 |
"MIME-Version: 1.0\n"
|
| 9 |
"Content-Type: text/plain; charset=utf-8\n"
|
| 10 |
"Content-Transfer-Encoding: 8bit\n"
|
readme.txt
CHANGED
|
@@ -4,7 +4,7 @@ Donate link: http://claudiosmweb.com/doacoes/
|
|
| 4 |
Tags: shipping, delivery, woocommerce, correios
|
| 5 |
Requires at least: 4.0
|
| 6 |
Tested up to: 4.5
|
| 7 |
-
Stable tag: 3.0.
|
| 8 |
License: GPLv2 or later
|
| 9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
| 10 |
|
|
@@ -199,6 +199,10 @@ Em caso de dúvidas, basta abrir um tópico no [fórum de suporte do plugin](htt
|
|
| 199 |
|
| 200 |
== Changelog ==
|
| 201 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 202 |
= 3.0.2 - 2016/06/28 =
|
| 203 |
|
| 204 |
- Adicionado novo método de Carta Registrada seguindo a tabela dos Correios e com suporte a classes de entrega.
|
|
@@ -221,7 +225,7 @@ Em caso de dúvidas, basta abrir um tópico no [fórum de suporte do plugin](htt
|
|
| 221 |
|
| 222 |
== Upgrade Notice ==
|
| 223 |
|
| 224 |
-
= 3.0.
|
| 225 |
|
| 226 |
- Reformulação geral de todos o código do plugin.
|
| 227 |
- Adicionado suporte as áreas de entrega do WooCommerce 2.6.
|
|
@@ -233,4 +237,5 @@ Em caso de dúvidas, basta abrir um tópico no [fórum de suporte do plugin](htt
|
|
| 233 |
- Integrado o campo de "correios_tracking_code" dos pedidos com a API REST do WooCommerce.
|
| 234 |
- Corrigido o calculo da taxa de manuseio.
|
| 235 |
- Adicionado método de Carta Registrada seguindo a tabela dos Correios e com suporte a classes de entrega.
|
|
|
|
| 236 |
- E mais outras várias alterações que podem ser verificadas pelo [GitHub](https://github.com/claudiosmweb/woocommerce-correios/compare/2.3.0...3.0.0).
|
| 4 |
Tags: shipping, delivery, woocommerce, correios
|
| 5 |
Requires at least: 4.0
|
| 6 |
Tested up to: 4.5
|
| 7 |
+
Stable tag: 3.0.3
|
| 8 |
License: GPLv2 or later
|
| 9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
| 10 |
|
| 199 |
|
| 200 |
== Changelog ==
|
| 201 |
|
| 202 |
+
= 3.0.3 - 2016/06/28 =
|
| 203 |
+
|
| 204 |
+
- Corrigida as unidades de medidas dos métodos internacionais.
|
| 205 |
+
|
| 206 |
= 3.0.2 - 2016/06/28 =
|
| 207 |
|
| 208 |
- Adicionado novo método de Carta Registrada seguindo a tabela dos Correios e com suporte a classes de entrega.
|
| 225 |
|
| 226 |
== Upgrade Notice ==
|
| 227 |
|
| 228 |
+
= 3.0.3 =
|
| 229 |
|
| 230 |
- Reformulação geral de todos o código do plugin.
|
| 231 |
- Adicionado suporte as áreas de entrega do WooCommerce 2.6.
|
| 237 |
- Integrado o campo de "correios_tracking_code" dos pedidos com a API REST do WooCommerce.
|
| 238 |
- Corrigido o calculo da taxa de manuseio.
|
| 239 |
- Adicionado método de Carta Registrada seguindo a tabela dos Correios e com suporte a classes de entrega.
|
| 240 |
+
- Corrigida as unidades de medidas dos métodos internacionais.
|
| 241 |
- E mais outras várias alterações que podem ser verificadas pelo [GitHub](https://github.com/claudiosmweb/woocommerce-correios/compare/2.3.0...3.0.0).
|
woocommerce-correios.php
CHANGED
|
@@ -5,7 +5,7 @@
|
|
| 5 |
* Description: Correios para WooCommerce
|
| 6 |
* Author: Claudio Sanches
|
| 7 |
* Author URI: http://claudiosmweb.com/
|
| 8 |
-
* Version: 3.0.
|
| 9 |
* License: GPLv2 or later
|
| 10 |
* Text Domain: woocommerce-correios
|
| 11 |
* Domain Path: languages/
|
|
@@ -29,7 +29,7 @@ if ( ! class_exists( 'WC_Correios' ) ) :
|
|
| 29 |
*
|
| 30 |
* @var string
|
| 31 |
*/
|
| 32 |
-
const VERSION = '3.0.
|
| 33 |
|
| 34 |
/**
|
| 35 |
* Instance of this class.
|
| 5 |
* Description: Correios para WooCommerce
|
| 6 |
* Author: Claudio Sanches
|
| 7 |
* Author URI: http://claudiosmweb.com/
|
| 8 |
+
* Version: 3.0.3
|
| 9 |
* License: GPLv2 or later
|
| 10 |
* Text Domain: woocommerce-correios
|
| 11 |
* Domain Path: languages/
|
| 29 |
*
|
| 30 |
* @var string
|
| 31 |
*/
|
| 32 |
+
const VERSION = '3.0.3';
|
| 33 |
|
| 34 |
/**
|
| 35 |
* Instance of this class.
|
