Version Description
2017/01/10 =
Corrigido o link de rastreio nas notas do pedido.
Download this release
Release Info
| Developer | claudiosanches |
| Plugin | |
| Version | 3.1.7 |
| Comparing to | |
| See all releases | |
Code changes from version 3.1.6 to 3.1.7
- includes/wc-correios-functions.php +1 -1
- languages/woocommerce-correios.pot +2 -2
- readme.txt +7 -5
- woocommerce-correios.php +2 -2
includes/wc-correios-functions.php
CHANGED
|
@@ -144,7 +144,7 @@ function wc_correios_update_tracking_code( $order_id, $tracking_code ) {
|
|
| 144 |
$order = wc_get_order( $order_id );
|
| 145 |
|
| 146 |
// Build tracking link.
|
| 147 |
-
$tracking_link = sprintf( '<a href="http://websro.correios.com.br/sro_bin/txect01$.QueryList?P_LINGUA=001&P_TIPO=001&P_COD_UNI
|
| 148 |
|
| 149 |
// Add order note.
|
| 150 |
$order->add_order_note( sprintf( __( 'Added a Correios tracking code: %s', 'woocommerce-correios' ), $tracking_link ) );
|
| 144 |
$order = wc_get_order( $order_id );
|
| 145 |
|
| 146 |
// Build tracking link.
|
| 147 |
+
$tracking_link = sprintf( '<a href="http://websro.correios.com.br/sro_bin/txect01$.QueryList?P_LINGUA=001&P_TIPO=001&P_COD_UNI=%1$s" target="_blank">%1$s</a>', $tracking_code );
|
| 148 |
|
| 149 |
// Add order note.
|
| 150 |
$order->add_order_note( sprintf( __( 'Added a Correios tracking code: %s', 'woocommerce-correios' ), $tracking_link ) );
|
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.1.
|
| 6 |
"Report-Msgid-Bugs-To: https://wordpress.org/plugins/woocommerce-domination/\n"
|
| 7 |
-
"POT-Creation-Date: 2017-01-
|
| 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.1.7\n"
|
| 6 |
"Report-Msgid-Bugs-To: https://wordpress.org/plugins/woocommerce-domination/\n"
|
| 7 |
+
"POT-Creation-Date: 2017-01-10 03:49:05+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.7
|
| 7 |
-
Stable tag: 3.1.
|
| 8 |
License: GPLv2 or later
|
| 9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
| 10 |
|
|
@@ -203,6 +203,10 @@ Em caso de dúvidas, basta abrir um tópico no [fórum de suporte do plugin](htt
|
|
| 203 |
|
| 204 |
== Changelog ==
|
| 205 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 206 |
= 3.1.6 - 2017/01/05 =
|
| 207 |
|
| 208 |
- Declara valor para os métodos de sedex apenas se o total do pacote for mais do que 17 reais.
|
|
@@ -280,8 +284,6 @@ Em caso de dúvidas, basta abrir um tópico no [fórum de suporte do plugin](htt
|
|
| 280 |
|
| 281 |
== Upgrade Notice ==
|
| 282 |
|
| 283 |
-
= 3.1.
|
| 284 |
|
| 285 |
-
-
|
| 286 |
-
- Adicionada opção manual para estimativa de entrega para os métodos de Impresso e Carta Registrada.
|
| 287 |
-
- Corrigida mensagens de alerta do plugin para serem exibidas apenas na página do carrinho.
|
| 4 |
Tags: shipping, delivery, woocommerce, correios
|
| 5 |
Requires at least: 4.0
|
| 6 |
Tested up to: 4.7
|
| 7 |
+
Stable tag: 3.1.7
|
| 8 |
License: GPLv2 or later
|
| 9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
| 10 |
|
| 203 |
|
| 204 |
== Changelog ==
|
| 205 |
|
| 206 |
+
= 3.1.7 - 2017/01/10 =
|
| 207 |
+
|
| 208 |
+
- Corrigido o link de rastreio nas notas do pedido.
|
| 209 |
+
|
| 210 |
= 3.1.6 - 2017/01/05 =
|
| 211 |
|
| 212 |
- Declara valor para os métodos de sedex apenas se o total do pacote for mais do que 17 reais.
|
| 284 |
|
| 285 |
== Upgrade Notice ==
|
| 286 |
|
| 287 |
+
= 3.1.7 =
|
| 288 |
|
| 289 |
+
- Corrigido o link de rastreio nas notas do pedido.
|
|
|
|
|
|
woocommerce-correios.php
CHANGED
|
@@ -5,7 +5,7 @@
|
|
| 5 |
* Description: Adds Correios shipping methods to your WooCommerce store.
|
| 6 |
* Author: Claudio Sanches
|
| 7 |
* Author URI: https://claudiosmweb.com
|
| 8 |
-
* Version: 3.1.
|
| 9 |
* License: GPLv2 or later
|
| 10 |
* Text Domain: woocommerce-correios
|
| 11 |
* Domain Path: /languages
|
|
@@ -43,7 +43,7 @@ if ( ! class_exists( 'WC_Correios' ) ) :
|
|
| 43 |
*
|
| 44 |
* @var string
|
| 45 |
*/
|
| 46 |
-
const VERSION = '3.1.
|
| 47 |
|
| 48 |
/**
|
| 49 |
* Instance of this class.
|
| 5 |
* Description: Adds Correios shipping methods to your WooCommerce store.
|
| 6 |
* Author: Claudio Sanches
|
| 7 |
* Author URI: https://claudiosmweb.com
|
| 8 |
+
* Version: 3.1.7
|
| 9 |
* License: GPLv2 or later
|
| 10 |
* Text Domain: woocommerce-correios
|
| 11 |
* Domain Path: /languages
|
| 43 |
*
|
| 44 |
* @var string
|
| 45 |
*/
|
| 46 |
+
const VERSION = '3.1.7';
|
| 47 |
|
| 48 |
/**
|
| 49 |
* Instance of this class.
|
