WooCommerce Services - Version 1.1.1

Version Description

  • Update plugin support documentation link
  • Fix bug related to tracking Terms of Service acceptance
Download this release

Release Info

Developer woothemes
Plugin Icon 128x128 WooCommerce Services
Version 1.1.1
Comparing to
See all releases

Code changes from version 1.1.0 to 1.1.1

classes/class-wc-connect-help-view.php CHANGED
@@ -434,7 +434,7 @@ if ( ! class_exists( 'WC_Connect_Help_View' ) ) {
434
__( 'Our team is here for you. View our <a href="%1$s">support docs</a> or <a href="%2$s">report a bug</a>', 'woocommerce-services' ),
435
array( 'a' => array( 'href' => array() ) )
436
),
437
- esc_url( 'https://docs.woocommerce.com/document/woocommerce-connect-faq/' ),
438
esc_url( 'https://wordpress.org/support/plugin/woocommerce-services' )
439
);
440
434
__( 'Our team is here for you. View our <a href="%1$s">support docs</a> or <a href="%2$s">report a bug</a>', 'woocommerce-services' ),
435
array( 'a' => array( 'href' => array() ) )
436
),
437
+ esc_url( 'https://docs.woocommerce.com/document/woocommerce-services/' ),
438
esc_url( 'https://wordpress.org/support/plugin/woocommerce-services' )
439
);
440
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: automattic, woothemes, allendav, kellychoffman, jkudish, jeffstiel
3
Tags: canada-post, shipping, stamps, usps, woocommerce
4
Requires at least: 4.6.1
5
Tested up to: 4.7.2
6
- Stable tag: 1.1.0
7
License: GPLv2 or later
8
License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
@@ -75,6 +75,10 @@ Absolutely! You can read our Terms of Service [here](https://woocommerce.com/ter
75
76
== Changelog ==
77
78
= 1.1.0 =
79
* Fetch service schemas earlier - fix bug where no shipping methods displayed
80
* Fix bug related to tracking Terms of Service acceptance too early
3
Tags: canada-post, shipping, stamps, usps, woocommerce
4
Requires at least: 4.6.1
5
Tested up to: 4.7.2
6
+ Stable tag: 1.1.1
7
License: GPLv2 or later
8
License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
75
76
== Changelog ==
77
78
+ = 1.1.1 =
79
+ * Update plugin support documentation link
80
+ * Fix bug related to tracking Terms of Service acceptance
81
+
82
= 1.1.0 =
83
* Fetch service schemas earlier - fix bug where no shipping methods displayed
84
* Fix bug related to tracking Terms of Service acceptance too early
woocommerce-services.php CHANGED
@@ -5,7 +5,7 @@
5
* Description: WooCommerce Services: Hosted services for WooCommerce, including free real-time USPS and Canada Post rates and discounted USPS shipping labels.
6
* Author: Automattic
7
* Author URI: http://woocommerce.com/
8
- * Version: 1.1.0
9
*
10
* Copyright (c) 2017 Automattic
11
*
@@ -702,8 +702,12 @@ if ( ! class_exists( 'WC_Connect_Loader' ) ) {
702
}
703
704
if ( 'accept' === $_GET['wc-connect-notice'] ) {
705
update_option( 'wc_connect_tos_accepted', true );
706
wp_safe_redirect( admin_url( 'admin.php?page=wc-settings&tab=shipping' ) );
707
exit;
708
}
709
5
* Description: WooCommerce Services: Hosted services for WooCommerce, including free real-time USPS and Canada Post rates and discounted USPS shipping labels.
6
* Author: Automattic
7
* Author URI: http://woocommerce.com/
8
+ * Version: 1.1.1
9
*
10
* Copyright (c) 2017 Automattic
11
*
702
}
703
704
if ( 'accept' === $_GET['wc-connect-notice'] ) {
705
+ $tracks = self::load_tracks_for_activation_hooks();
706
+ $tracks->opted_in();
707
+
708
update_option( 'wc_connect_tos_accepted', true );
709
wp_safe_redirect( admin_url( 'admin.php?page=wc-settings&tab=shipping' ) );
710
+
711
exit;
712
}
713