WooCommerce Correios - Version 3.0.5

Version Description

  • 2016/07/20 =

  • Corrigido o formato das dimenses e peso para os mtodos de entrega internacionais.

Download this release

Release Info

Developer claudiosanches
Plugin Icon 128x128 WooCommerce Correios
Version 3.0.5
Comparing to
See all releases

Code changes from version 3.0.4 to 3.0.5

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( 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 ) {
143
  if ( ! is_null( $package ) ) {
144
  $data = $package->get_data();
145
 
146
+ $this->set_height( wc_get_dimension( $data['height'], 'mm', 'cm' ) );
147
+ $this->set_width( wc_get_dimension( $data['width'], 'mm', 'cm' ) );
148
+ $this->set_length( wc_get_dimension( $data['length'], 'mm', 'cm' ) );
149
+ $this->set_weight( wc_get_weight( $data['weight'], 'g', 'kg' ) );
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.4\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/plugins/woocommerce-domination/\n"
7
- "POT-Creation-Date: 2016-07-20 14:15:57+00:00\n"
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.5\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/plugins/woocommerce-domination/\n"
7
+ "POT-Creation-Date: 2016-07-20 18:46:10+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.6
7
- Stable tag: 3.0.4
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.4 - 2016/07/20 =
203
 
204
  - Corrigido o tratamento do XML das métodos internacionais, nos quais os Correios as vezes envia um XML no formato incorreto.
@@ -229,7 +233,7 @@ Em caso de dúvidas, basta abrir um tópico no [fórum de suporte do plugin](htt
229
 
230
  == Upgrade Notice ==
231
 
232
- = 3.0.4 =
233
 
234
  - Reformulação geral de todos o código do plugin.
235
  - Adicionado suporte as áreas de entrega do WooCommerce 2.6.
4
  Tags: shipping, delivery, woocommerce, correios
5
  Requires at least: 4.0
6
  Tested up to: 4.6
7
+ Stable tag: 3.0.5
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.5 - 2016/07/20 =
203
+
204
+ - Corrigido o formato das dimensões e peso para os métodos de entrega internacionais.
205
+
206
  = 3.0.4 - 2016/07/20 =
207
 
208
  - Corrigido o tratamento do XML das métodos internacionais, nos quais os Correios as vezes envia um XML no formato incorreto.
233
 
234
  == Upgrade Notice ==
235
 
236
+ = 3.0.5 =
237
 
238
  - Reformulação geral de todos o código do plugin.
239
  - Adicionado suporte as áreas de entrega do WooCommerce 2.6.
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.4
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.4';
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.5
9
  * License: GPLv2 or later
10
  * Text Domain: woocommerce-correios
11
  * Domain Path: languages/
29
  *
30
  * @var string
31
  */
32
+ const VERSION = '3.0.5';
33
 
34
  /**
35
  * Instance of this class.