WooCommerce ShipStation Gateway - Version 4.1.31

Version Description

Download this release

Release Info

Developer superdav42
Plugin Icon 128x128 WooCommerce ShipStation Gateway
Version 4.1.31
Comparing to
See all releases

Code changes from version 4.1.30 to 4.1.31

changelog.txt CHANGED
@@ -1,5 +1,9 @@
1
  *** ShipStation for WooCommerce ***
2
 
 
 
 
 
3
  = 4.1.30 - 2019-11-04 =
4
  * Tweak - WC 3.8 compatibility.
5
 
1
  *** ShipStation for WooCommerce ***
2
 
3
+ = 4.1.31 - 2020-01-15 =
4
+ * Tweak - WP 5.3 compatibility.
5
+ * Add - Filter `woocommerce_shipstation_no_shipping_item` for when an item does not need shipping or is a fee.
6
+
7
  = 4.1.30 - 2019-11-04 =
8
  * Tweak - WC 3.8 compatibility.
9
 
includes/api-requests/class-wc-shipstation-api-export.php CHANGED
@@ -213,7 +213,7 @@ class WC_Shipstation_API_Export extends WC_Shipstation_API_Request {
213
  }
214
  $item_needs_no_shipping = ! $product || ! $product->needs_shipping();
215
  $item_not_a_fee = 'fee' !== $item['type'];
216
- if ( $item_needs_no_shipping && $item_not_a_fee ) {
217
  continue;
218
  }
219
 
213
  }
214
  $item_needs_no_shipping = ! $product || ! $product->needs_shipping();
215
  $item_not_a_fee = 'fee' !== $item['type'];
216
+ if ( apply_filters( 'woocommerce_shipstation_no_shipping_item', $item_needs_no_shipping && $item_not_a_fee, $product, $item ) ) {
217
  continue;
218
  }
219
 
languages/woocommerce-shipstation.pot CHANGED
@@ -1,14 +1,14 @@
1
- # <!=Copyright (C) 2019 WooCommerce
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.29\n"
6
  "Report-Msgid-Bugs-To: https://docs.woocommerce.com\n"
7
- "POT-Creation-Date: 2019-08-12 07:31:01+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=UTF-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
11
- "PO-Revision-Date: 2019-MO-DA HO:MI+ZONE\n"
12
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13
  "Language-Team: LANGUAGE <LL@li.org>\n"
14
 
@@ -238,172 +238,6 @@ msgstr ""
238
  msgid "Log all API interations."
239
  msgstr ""
240
 
241
- #: node_modules/grunt-checktextdomain/test/expected/incorrect-domain-autocorrect.php:3
242
- #: node_modules/grunt-checktextdomain/test/expected/incorrect-domain-autocorrect.php:5
243
- #: node_modules/grunt-checktextdomain/test/expected/incorrect-domain-autocorrect.php:9
244
- #: node_modules/grunt-checktextdomain/test/expected/incorrect-domain-autocorrect.php:10
245
- #: node_modules/grunt-checktextdomain/test/expected/incorrect-domain-autocorrect.php:14
246
- #: node_modules/grunt-checktextdomain/test/expected/incorrect-domain-autocorrect.php:15
247
- #: node_modules/grunt-checktextdomain/test/expected/variable-domain-autocorrect.php:4
248
- #: node_modules/grunt-checktextdomain/test/expected/variable-domain-autocorrect.php:6
249
- #: node_modules/grunt-checktextdomain/test/expected/variable-domain-autocorrect.php:10
250
- #: node_modules/grunt-checktextdomain/test/expected/variable-domain-autocorrect.php:11
251
- #: node_modules/grunt-checktextdomain/test/expected/variable-domain-autocorrect.php:15
252
- #: node_modules/grunt-checktextdomain/test/expected/variable-domain-autocorrect.php:16
253
- #: node_modules/grunt-checktextdomain/test/fixtures/correct-domain.php:3
254
- #: node_modules/grunt-checktextdomain/test/fixtures/correct-domain.php:5
255
- #: node_modules/grunt-checktextdomain/test/fixtures/correct-domain.php:9
256
- #: node_modules/grunt-checktextdomain/test/fixtures/correct-domain.php:10
257
- #: node_modules/grunt-checktextdomain/test/fixtures/correct-domain.php:14
258
- #: node_modules/grunt-checktextdomain/test/fixtures/correct-domain.php:15
259
- #: node_modules/grunt-checktextdomain/test/fixtures/incorrect-domain-autocorrect.php:3
260
- #: node_modules/grunt-checktextdomain/test/fixtures/incorrect-domain-autocorrect.php:5
261
- #: node_modules/grunt-checktextdomain/test/fixtures/incorrect-domain-autocorrect.php:9
262
- #: node_modules/grunt-checktextdomain/test/fixtures/incorrect-domain-autocorrect.php:10
263
- #: node_modules/grunt-checktextdomain/test/fixtures/incorrect-domain-autocorrect.php:14
264
- #: node_modules/grunt-checktextdomain/test/fixtures/incorrect-domain-autocorrect.php:15
265
- #: node_modules/grunt-checktextdomain/test/fixtures/incorrect-domain.php:3
266
- #: node_modules/grunt-checktextdomain/test/fixtures/incorrect-domain.php:5
267
- #: node_modules/grunt-checktextdomain/test/fixtures/incorrect-domain.php:9
268
- #: node_modules/grunt-checktextdomain/test/fixtures/incorrect-domain.php:10
269
- #: node_modules/grunt-checktextdomain/test/fixtures/incorrect-domain.php:14
270
- #: node_modules/grunt-checktextdomain/test/fixtures/incorrect-domain.php:15
271
- #: node_modules/grunt-checktextdomain/test/fixtures/missing-domain.php:3
272
- #: node_modules/grunt-checktextdomain/test/fixtures/missing-domain.php:5
273
- #: node_modules/grunt-checktextdomain/test/fixtures/missing-domain.php:9
274
- #: node_modules/grunt-checktextdomain/test/fixtures/missing-domain.php:10
275
- #: node_modules/grunt-checktextdomain/test/fixtures/missing-domain.php:14
276
- #: node_modules/grunt-checktextdomain/test/fixtures/missing-domain.php:15
277
- #: node_modules/grunt-checktextdomain/test/fixtures/variable-domain-autocorrect.php:4
278
- #: node_modules/grunt-checktextdomain/test/fixtures/variable-domain-autocorrect.php:6
279
- #: node_modules/grunt-checktextdomain/test/fixtures/variable-domain-autocorrect.php:10
280
- #: node_modules/grunt-checktextdomain/test/fixtures/variable-domain-autocorrect.php:11
281
- #: node_modules/grunt-checktextdomain/test/fixtures/variable-domain-autocorrect.php:15
282
- #: node_modules/grunt-checktextdomain/test/fixtures/variable-domain-autocorrect.php:16
283
- msgid "Hello World"
284
- msgstr ""
285
-
286
- #: node_modules/grunt-checktextdomain/test/expected/incorrect-domain-autocorrect.php:4
287
- #: node_modules/grunt-checktextdomain/test/expected/incorrect-domain-autocorrect.php:6
288
- #: node_modules/grunt-checktextdomain/test/expected/incorrect-domain-autocorrect.php:11
289
- #: node_modules/grunt-checktextdomain/test/expected/incorrect-domain-autocorrect.php:16
290
- #: node_modules/grunt-checktextdomain/test/expected/variable-domain-autocorrect.php:5
291
- #: node_modules/grunt-checktextdomain/test/expected/variable-domain-autocorrect.php:7
292
- #: node_modules/grunt-checktextdomain/test/expected/variable-domain-autocorrect.php:12
293
- #: node_modules/grunt-checktextdomain/test/expected/variable-domain-autocorrect.php:17
294
- #: node_modules/grunt-checktextdomain/test/fixtures/correct-domain.php:4
295
- #: node_modules/grunt-checktextdomain/test/fixtures/correct-domain.php:6
296
- #: node_modules/grunt-checktextdomain/test/fixtures/correct-domain.php:11
297
- #: node_modules/grunt-checktextdomain/test/fixtures/correct-domain.php:16
298
- #: node_modules/grunt-checktextdomain/test/fixtures/incorrect-domain-autocorrect.php:4
299
- #: node_modules/grunt-checktextdomain/test/fixtures/incorrect-domain-autocorrect.php:6
300
- #: node_modules/grunt-checktextdomain/test/fixtures/incorrect-domain-autocorrect.php:11
301
- #: node_modules/grunt-checktextdomain/test/fixtures/incorrect-domain-autocorrect.php:16
302
- #: node_modules/grunt-checktextdomain/test/fixtures/incorrect-domain.php:4
303
- #: node_modules/grunt-checktextdomain/test/fixtures/incorrect-domain.php:6
304
- #: node_modules/grunt-checktextdomain/test/fixtures/incorrect-domain.php:11
305
- #: node_modules/grunt-checktextdomain/test/fixtures/incorrect-domain.php:16
306
- #: node_modules/grunt-checktextdomain/test/fixtures/missing-domain.php:4
307
- #: node_modules/grunt-checktextdomain/test/fixtures/missing-domain.php:6
308
- #: node_modules/grunt-checktextdomain/test/fixtures/missing-domain.php:11
309
- #: node_modules/grunt-checktextdomain/test/fixtures/missing-domain.php:16
310
- #: node_modules/grunt-checktextdomain/test/fixtures/variable-domain-autocorrect.php:5
311
- #: node_modules/grunt-checktextdomain/test/fixtures/variable-domain-autocorrect.php:7
312
- #: node_modules/grunt-checktextdomain/test/fixtures/variable-domain-autocorrect.php:12
313
- #: node_modules/grunt-checktextdomain/test/fixtures/variable-domain-autocorrect.php:17
314
- msgctxt "verb"
315
- msgid "Post"
316
- msgstr ""
317
-
318
- #: node_modules/grunt-checktextdomain/test/expected/incorrect-domain-autocorrect.php:20
319
- #: node_modules/grunt-checktextdomain/test/expected/incorrect-domain-autocorrect.php:24
320
- #: node_modules/grunt-checktextdomain/test/expected/variable-domain-autocorrect.php:21
321
- #: node_modules/grunt-checktextdomain/test/expected/variable-domain-autocorrect.php:25
322
- #: node_modules/grunt-checktextdomain/test/fixtures/correct-domain.php:20
323
- #: node_modules/grunt-checktextdomain/test/fixtures/correct-domain.php:24
324
- #: node_modules/grunt-checktextdomain/test/fixtures/incorrect-domain-autocorrect.php:20
325
- #: node_modules/grunt-checktextdomain/test/fixtures/incorrect-domain-autocorrect.php:24
326
- #: node_modules/grunt-checktextdomain/test/fixtures/incorrect-domain.php:20
327
- #: node_modules/grunt-checktextdomain/test/fixtures/incorrect-domain.php:24
328
- #: node_modules/grunt-checktextdomain/test/fixtures/missing-domain.php:20
329
- #: node_modules/grunt-checktextdomain/test/fixtures/missing-domain.php:24
330
- #: node_modules/grunt-checktextdomain/test/fixtures/plurals.php:3
331
- #: node_modules/grunt-checktextdomain/test/fixtures/plurals.php:8
332
- #: node_modules/grunt-checktextdomain/test/fixtures/plurals.php:15
333
- #: node_modules/grunt-checktextdomain/test/fixtures/variable-domain-autocorrect.php:21
334
- #: node_modules/grunt-checktextdomain/test/fixtures/variable-domain-autocorrect.php:25
335
- msgid "%d apple"
336
- msgid_plural "%d apples"
337
- msgstr[0] ""
338
- msgstr[1] ""
339
-
340
- #: node_modules/grunt-checktextdomain/test/expected/incorrect-domain-autocorrect.php:21
341
- #: node_modules/grunt-checktextdomain/test/expected/incorrect-domain-autocorrect.php:25
342
- #: node_modules/grunt-checktextdomain/test/expected/variable-domain-autocorrect.php:22
343
- #: node_modules/grunt-checktextdomain/test/expected/variable-domain-autocorrect.php:26
344
- #: node_modules/grunt-checktextdomain/test/fixtures/correct-domain.php:21
345
- #: node_modules/grunt-checktextdomain/test/fixtures/correct-domain.php:25
346
- #: node_modules/grunt-checktextdomain/test/fixtures/incorrect-domain-autocorrect.php:21
347
- #: node_modules/grunt-checktextdomain/test/fixtures/incorrect-domain-autocorrect.php:25
348
- #: node_modules/grunt-checktextdomain/test/fixtures/incorrect-domain.php:21
349
- #: node_modules/grunt-checktextdomain/test/fixtures/incorrect-domain.php:25
350
- #: node_modules/grunt-checktextdomain/test/fixtures/missing-domain.php:25
351
- #: node_modules/grunt-checktextdomain/test/fixtures/plurals.php:4
352
- #: node_modules/grunt-checktextdomain/test/fixtures/plurals.php:9
353
- #: node_modules/grunt-checktextdomain/test/fixtures/plurals.php:16
354
- #: node_modules/grunt-checktextdomain/test/fixtures/variable-domain-autocorrect.php:22
355
- #: node_modules/grunt-checktextdomain/test/fixtures/variable-domain-autocorrect.php:26
356
- msgctxt "noun, job positions"
357
- msgid "%d post"
358
- msgid_plural "%d posts"
359
- msgstr[0] ""
360
- msgstr[1] ""
361
-
362
- #: node_modules/grunt-wp-i18n/test/fixtures/basic-theme/exclude/file.php:3
363
- #: node_modules/grunt-wp-i18n/test/fixtures/plugin-include/plugin-include.php:6
364
- msgid "Exclude"
365
- msgstr ""
366
-
367
- #: node_modules/grunt-wp-i18n/test/fixtures/plugin-include/include/file.php:2
368
- msgid "Include"
369
- msgstr ""
370
-
371
- #: node_modules/grunt-wp-i18n/test/fixtures/text-domains/add-domain.php:2
372
- #: node_modules/grunt-wp-i18n/test/fixtures/text-domains/update-all-domains.php:2
373
- #: node_modules/grunt-wp-i18n/test/fixtures/text-domains/update-all-domains.php:3
374
- #: node_modules/grunt-wp-i18n/test/fixtures/text-domains/update-all-domains.php:4
375
- #: node_modules/grunt-wp-i18n/test/fixtures/text-domains/update-domains.php:2
376
- #: node_modules/grunt-wp-i18n/test/fixtures/text-domains/update-domains.php:3
377
- msgid "String"
378
- msgstr ""
379
-
380
- #: node_modules/grunt-wp-i18n/test/fixtures/text-domains/update-all-domains.php:6
381
- #: node_modules/grunt-wp-i18n/test/fixtures/text-domains/update-all-domains.php:7
382
- #: node_modules/grunt-wp-i18n/test/fixtures/text-domains/update-all-domains.php:8
383
- msgctxt "a string"
384
- msgid "String"
385
- msgstr ""
386
-
387
- #: node_modules/grunt-wp-i18n/test/fixtures/text-domains/update-all-domains.php:9
388
- #: node_modules/grunt-wp-i18n/test/fixtures/text-domains/update-all-domains.php:10
389
- #: node_modules/grunt-wp-i18n/test/fixtures/text-domains/update-all-domains.php:11
390
- msgid "1 Star"
391
- msgid_plural "%s Stars"
392
- msgstr[0] ""
393
- msgstr[1] ""
394
-
395
- #. translators: A single line translators comment.
396
-
397
- #: node_modules/grunt-wp-i18n/test/fixtures/translator-comments/translator-comments.php:7
398
- msgid "A"
399
- msgstr ""
400
-
401
- #. translators: A multiline translators comment.
402
-
403
- #: node_modules/grunt-wp-i18n/test/fixtures/translator-comments/translator-comments.php:15
404
- msgid "B"
405
- msgstr ""
406
-
407
  #. translators: %s WC download URL link.
408
 
409
  #: woocommerce-shipstation.php:28
1
+ # <!=Copyright (C) 2020 WooCommerce
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.31\n"
6
  "Report-Msgid-Bugs-To: https://docs.woocommerce.com\n"
7
+ "POT-Creation-Date: 2020-01-15 23:38:45+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=UTF-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
11
+ "PO-Revision-Date: 2020-MO-DA HO:MI+ZONE\n"
12
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13
  "Language-Team: LANGUAGE <LL@li.org>\n"
14
 
238
  msgid "Log all API interations."
239
  msgstr ""
240
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
241
  #. translators: %s WC download URL link.
242
 
243
  #: woocommerce-shipstation.php:28
readme.txt CHANGED
@@ -2,9 +2,9 @@
2
  Contributors: automattic, royho, akeda, mattyza, bor0, woothemes, dwainm, laurendavissmith001
3
  Tags: shipping, woocommerce, automattic
4
  Requires at least: 4.4
5
- Tested up to: 5.1
6
  Requires PHP: 5.6
7
- Stable tag: 4.1.30
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
  = 2019-11-04 - version 4.1.30 =
50
  * Tweak - WC 3.8 compatibility.
51
 
@@ -58,5 +61,3 @@ If you get stuck, you can ask for help in the Plugin Forum.
58
  = 2019-01-07 - version 4.1.27 =
59
  * Fix - Use product name from order instead of product itself.
60
  * Fix - Prevent errors when WooCommerce isn't active.
61
-
62
- [See changelog for all versions](https://raw.githubusercontent.com/woocommerce/woocommerce-shipstation/master/changelog.txt).
2
  Contributors: automattic, royho, akeda, mattyza, bor0, woothemes, dwainm, laurendavissmith001
3
  Tags: shipping, woocommerce, automattic
4
  Requires at least: 4.4
5
+ Tested up to: 5.3
6
  Requires PHP: 5.6
7
+ Stable tag: 4.1.31
8
  License: GPLv3
9
  License URI: https://www.gnu.org/licenses/gpl-3.0.html
10
 
46
 
47
  == Changelog ==
48
 
49
+ = 2020-01-05 - version 4.1.31 =
50
+ * Tweak - WP 5.3 compatibility.
51
+
52
  = 2019-11-04 - version 4.1.30 =
53
  * Tweak - WC 3.8 compatibility.
54
 
61
  = 2019-01-07 - version 4.1.27 =
62
  * Fix - Use product name from order instead of product itself.
63
  * Fix - Prevent errors when WooCommerce isn't active.
 
 
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.30
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.30' );
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.31
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.31' );
45
  define( 'WC_SHIPSTATION_FILE', __FILE__ );
46
 
47
  if ( ! defined( 'WC_SHIPSTATION_EXPORT_LIMIT' ) ) {