WooCommerce ShipStation Gateway - Version 4.1.40

Version Description

  • 2020-11-24 =
  • Tweak - PHP 8 compatibility fixes.
Download this release

Release Info

Developer bborman22
Plugin Icon 128x128 WooCommerce ShipStation Gateway
Version 4.1.40
Comparing to
See all releases

Code changes from version 4.1.39 to 4.1.40

changelog.txt CHANGED
@@ -1,5 +1,8 @@
1
  *** ShipStation for WooCommerce ***
2
 
 
 
 
3
  = 4.1.39 - 2020-10-06 =
4
  * Add - Add woocommerce_shipstation_export_order_xml filter.
5
  * Tweak - Update Readme.
1
  *** ShipStation for WooCommerce ***
2
 
3
+ = 4.1.40 - 2020-11-24 =
4
+ * Tweak - PHP 8 compatibility fixes.
5
+
6
  = 4.1.39 - 2020-10-06 =
7
  * Add - Add woocommerce_shipstation_export_order_xml filter.
8
  * Tweak - Update Readme.
includes/api-requests/class-wc-safe-domdocument.php CHANGED
@@ -60,13 +60,13 @@ class WC_Safe_DOMDocument extends DOMDocument {
60
 
61
  $old = null;
62
 
63
- if ( function_exists( 'libxml_disable_entity_loader' ) ) {
64
  $old = libxml_disable_entity_loader( true );
65
  }
66
 
67
  $return = parent::loadXML( $source, $options );
68
 
69
- if ( ! is_null( $old ) ) {
70
  libxml_disable_entity_loader( $old );
71
  }
72
 
60
 
61
  $old = null;
62
 
63
+ if ( function_exists( 'libxml_disable_entity_loader' ) && \PHP_VERSION_ID < 80000 ) {
64
  $old = libxml_disable_entity_loader( true );
65
  }
66
 
67
  $return = parent::loadXML( $source, $options );
68
 
69
+ if ( ! is_null( $old ) && \PHP_VERSION_ID < 80000 ) {
70
  libxml_disable_entity_loader( $old );
71
  }
72
 
languages/woocommerce-shipstation.pot CHANGED
@@ -2,10 +2,10 @@
2
  # This file is distributed under the same license as the WooCommerce - ShipStation Integration package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: WooCommerce - ShipStation Integration 4.1.39\n"
6
  "Report-Msgid-Bugs-To: "
7
  "https://wordpress.org/support/plugin/woocommerce-shipstation\n"
8
- "POT-Creation-Date: 2020-10-06 20:41:46+00:00\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=utf-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
2
  # This file is distributed under the same license as the WooCommerce - ShipStation Integration package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: WooCommerce - ShipStation Integration 4.1.40\n"
6
  "Report-Msgid-Bugs-To: "
7
  "https://wordpress.org/support/plugin/woocommerce-shipstation\n"
8
+ "POT-Creation-Date: 2020-11-24 19:36:40+00:00\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=utf-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
readme.txt CHANGED
@@ -4,7 +4,7 @@ Tags: shipping, woocommerce, automattic
4
  Requires at least: 4.4
5
  Tested up to: 5.5
6
  Requires PHP: 5.6
7
- Stable tag: 4.1.39
8
  License: GPLv3
9
  License URI: https://www.gnu.org/licenses/gpl-3.0.html
10
 
@@ -46,6 +46,9 @@ If you get stuck, you can ask for help in the Plugin Forum.
46
 
47
  == Changelog ==
48
 
 
 
 
49
  = 4.1.39 - 2020-10-06 =
50
  * Add - Add woocommerce_shipstation_export_order_xml filter.
51
  * Tweak - Update Readme.
4
  Requires at least: 4.4
5
  Tested up to: 5.5
6
  Requires PHP: 5.6
7
+ Stable tag: 4.1.40
8
  License: GPLv3
9
  License URI: https://www.gnu.org/licenses/gpl-3.0.html
10
 
46
 
47
  == Changelog ==
48
 
49
+ = 4.1.40 - 2020-11-24 =
50
+ * Tweak - PHP 8 compatibility fixes.
51
+
52
  = 4.1.39 - 2020-10-06 =
53
  * Add - Add woocommerce_shipstation_export_order_xml filter.
54
  * Tweak - Update Readme.
woocommerce-shipstation.php CHANGED
@@ -2,7 +2,7 @@
2
  /**
3
  * Plugin Name: WooCommerce - ShipStation Integration
4
  * Plugin URI: https://woocommerce.com/products/shipstation-integration/
5
- * Version: 4.1.39
6
  * Description: Adds ShipStation label printing support to WooCommerce. Requires server DomDocument support.
7
  * Author: WooCommerce
8
  * Author URI: https://woocommerce.com/
@@ -41,7 +41,7 @@ function woocommerce_shipstation_init() {
41
  return;
42
  }
43
 
44
- define( 'WC_SHIPSTATION_VERSION', '4.1.39' ); // WRCS: DEFINED_VERSION.
45
  define( 'WC_SHIPSTATION_FILE', __FILE__ );
46
 
47
  if ( ! defined( 'WC_SHIPSTATION_EXPORT_LIMIT' ) ) {
2
  /**
3
  * Plugin Name: WooCommerce - ShipStation Integration
4
  * Plugin URI: https://woocommerce.com/products/shipstation-integration/
5
+ * Version: 4.1.40
6
  * Description: Adds ShipStation label printing support to WooCommerce. Requires server DomDocument support.
7
  * Author: WooCommerce
8
  * Author URI: https://woocommerce.com/
41
  return;
42
  }
43
 
44
+ define( 'WC_SHIPSTATION_VERSION', '4.1.40' ); // WRCS: DEFINED_VERSION.
45
  define( 'WC_SHIPSTATION_FILE', __FILE__ );
46
 
47
  if ( ! defined( 'WC_SHIPSTATION_EXPORT_LIMIT' ) ) {