Changeset 3272155
- Timestamp:
- 04/14/2025 09:02:52 AM (12 months ago)
- Location:
- woocommerce-shipstation-integration
- Files:
-
- 10 edited
- 1 copied
-
tags/4.5.0 (copied) (copied from woocommerce-shipstation-integration/trunk)
-
tags/4.5.0/changelog.txt (modified) (1 diff)
-
tags/4.5.0/includes/api-requests/class-wc-shipstation-api-shipnotify.php (modified) (2 diffs)
-
tags/4.5.0/languages/woocommerce-shipstation.pot (modified) (2 diffs)
-
tags/4.5.0/readme.txt (modified) (2 diffs)
-
tags/4.5.0/woocommerce-shipstation.php (modified) (2 diffs)
-
trunk/changelog.txt (modified) (1 diff)
-
trunk/includes/api-requests/class-wc-shipstation-api-shipnotify.php (modified) (2 diffs)
-
trunk/languages/woocommerce-shipstation.pot (modified) (2 diffs)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/woocommerce-shipstation.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
woocommerce-shipstation-integration/tags/4.5.0/changelog.txt
r3268088 r3272155 1 1 *** ShipStation for WooCommerce *** 2 3 = 4.5.0 - 2025-04-14 = 4 * Add - woocommerce_shipstation_shipnotify_order_shipped filter - Allow to override is order shipped. 5 * Add - woocommerce_shipstation_shipnotify_tracking_note filter - Allow to override tracking note. 6 * Add - woocommerce_shipstation_shipnotify_send_tracking_note filter - Allow to override should tracking note be sent to customer. 7 * Tweak - Move woocommerce_shipstation_shipnotify action before order status is updated. 2 8 3 9 = 4.4.9 - 2025-04-07 = -
woocommerce-shipstation-integration/tags/4.5.0/includes/api-requests/class-wc-shipstation-api-shipnotify.php
r3253325 r3272155 338 338 } 339 339 340 $order->add_order_note( $order_note, $is_customer_note ); 341 342 // Update order status. 343 if ( $order_shipped && WC_ShipStation_Integration::$shipped_status !== $current_status ) { 344 $order->update_status( WC_ShipStation_Integration::$shipped_status ); 345 346 /* translators: 1) order ID 2) shipment status */ 347 $this->log( sprintf( __( 'Updated order %1$s to status %2$s', 'woocommerce-shipstation-integration' ), $order_id, WC_ShipStation_Integration::$shipped_status ) ); 348 } 340 $tracking_data = array( 341 'tracking_number' => $tracking_number, 342 'carrier' => $carrier, 343 'ship_date' => $timestamp, 344 'xml' => $shipstation_xml, 345 ); 346 347 /** 348 * Allow to override tracking note. 349 * 350 * @param string $order_note 351 * @param WC_Order $order 352 * @param array $tracking_data 353 * 354 * @since 4.5.0 355 */ 356 $order_note = apply_filters( 357 'woocommerce_shipstation_shipnotify_tracking_note', 358 $order_note, 359 $order, 360 $tracking_data 361 ); 362 363 $order->add_order_note( 364 $order_note, 365 /** 366 * Allow to override should tracking note be sent to customer. 367 * 368 * @param bool $order_shipped 369 * @param string $order_note 370 * @param WC_Order $order 371 * @param array $tracking_data 372 * 373 * @since 4.5.0 374 */ 375 apply_filters( 376 'woocommerce_shipstation_shipnotify_send_tracking_note', 377 $is_customer_note, 378 $order_note, 379 $order, 380 $tracking_data 381 ) 382 ); 349 383 350 384 /** … … 356 390 'woocommerce_shipstation_shipnotify', 357 391 $order, 358 array( 359 'tracking_number' => $tracking_number, 360 'carrier' => $carrier, 361 'ship_date' => $timestamp, 362 'xml' => $shipstation_xml, 392 $tracking_data 393 ); 394 395 // Update order status. 396 if ( 397 /** 398 * Allow to override is order shipped flag. 399 * 400 * @param bool $order_shipped 401 * @param WC_Order $order 402 * @param array $tracking_data 403 * 404 * @since 4.5.0 405 */ 406 apply_filters( 407 'woocommerce_shipstation_shipnotify_order_shipped', 408 $order_shipped, 409 $order, 410 $tracking_data 363 411 ) 364 ); 412 && WC_ShipStation_Integration::$shipped_status !== $current_status 413 ) { 414 $order->update_status( WC_ShipStation_Integration::$shipped_status ); 415 416 /* translators: 1) order ID 2) shipment status */ 417 $this->log( sprintf( __( 'Updated order %1$s to status %2$s', 'woocommerce-shipstation-integration' ), $order_id, WC_ShipStation_Integration::$shipped_status ) ); 418 } 365 419 366 420 status_header( 200 ); -
woocommerce-shipstation-integration/tags/4.5.0/languages/woocommerce-shipstation.pot
r3268088 r3272155 3 3 msgid "" 4 4 msgstr "" 5 "Project-Id-Version: WooCommerce - ShipStation Integration 4. 4.9\n"5 "Project-Id-Version: WooCommerce - ShipStation Integration 4.5.0\n" 6 6 "Report-Msgid-Bugs-To: " 7 7 "https://wordpress.org/support/plugin/woocommerce-shipstation\n" 8 "POT-Creation-Date: 2025-04- 07 19:42:35+00:00\n"8 "POT-Creation-Date: 2025-04-14 09:02:31+00:00\n" 9 9 "MIME-Version: 1.0\n" 10 10 "Content-Type: text/plain; charset=utf-8\n" … … 95 95 msgstr "" 96 96 97 #: includes/api-requests/class-wc-shipstation-api-shipnotify.php: 34797 #: includes/api-requests/class-wc-shipstation-api-shipnotify.php:417 98 98 #. translators: 1) order ID 2) shipment status 99 99 msgid "Updated order %1$s to status %2$s" -
woocommerce-shipstation-integration/tags/4.5.0/readme.txt
r3268088 r3272155 8 8 Requires PHP: 7.4 9 9 Requires Plugins: woocommerce 10 Stable tag: 4. 4.910 Stable tag: 4.5.0 11 11 License: GPLv3 12 12 License URI: https://www.gnu.org/licenses/gpl-3.0.html … … 68 68 69 69 == Changelog == 70 71 = 4.5.0 - 2025-04-14 = 72 * Add - woocommerce_shipstation_shipnotify_order_shipped filter - Allow to override is order shipped. 73 * Add - woocommerce_shipstation_shipnotify_tracking_note filter - Allow to override tracking note. 74 * Add - woocommerce_shipstation_shipnotify_send_tracking_note filter - Allow to override should tracking note be sent to customer. 75 * Tweak - Move woocommerce_shipstation_shipnotify action before order status is updated. 70 76 71 77 = 4.4.9 - 2025-04-07 = -
woocommerce-shipstation-integration/tags/4.5.0/woocommerce-shipstation.php
r3268088 r3272155 3 3 * Plugin Name: WooCommerce - ShipStation Integration 4 4 * Plugin URI: https://woocommerce.com/products/shipstation-integration/ 5 * Version: 4. 4.95 * Version: 4.5.0 6 6 * Description: Adds ShipStation label printing support to WooCommerce. Requires server DomDocument support. 7 7 * Author: WooCommerce … … 50 50 } 51 51 52 define( 'WC_SHIPSTATION_VERSION', '4. 4.9' ); // WRCS: DEFINED_VERSION.52 define( 'WC_SHIPSTATION_VERSION', '4.5.0' ); // WRCS: DEFINED_VERSION. 53 53 54 54 if ( ! defined( 'WC_SHIPSTATION_EXPORT_LIMIT' ) ) { -
woocommerce-shipstation-integration/trunk/changelog.txt
r3268088 r3272155 1 1 *** ShipStation for WooCommerce *** 2 3 = 4.5.0 - 2025-04-14 = 4 * Add - woocommerce_shipstation_shipnotify_order_shipped filter - Allow to override is order shipped. 5 * Add - woocommerce_shipstation_shipnotify_tracking_note filter - Allow to override tracking note. 6 * Add - woocommerce_shipstation_shipnotify_send_tracking_note filter - Allow to override should tracking note be sent to customer. 7 * Tweak - Move woocommerce_shipstation_shipnotify action before order status is updated. 2 8 3 9 = 4.4.9 - 2025-04-07 = -
woocommerce-shipstation-integration/trunk/includes/api-requests/class-wc-shipstation-api-shipnotify.php
r3253325 r3272155 338 338 } 339 339 340 $order->add_order_note( $order_note, $is_customer_note ); 341 342 // Update order status. 343 if ( $order_shipped && WC_ShipStation_Integration::$shipped_status !== $current_status ) { 344 $order->update_status( WC_ShipStation_Integration::$shipped_status ); 345 346 /* translators: 1) order ID 2) shipment status */ 347 $this->log( sprintf( __( 'Updated order %1$s to status %2$s', 'woocommerce-shipstation-integration' ), $order_id, WC_ShipStation_Integration::$shipped_status ) ); 348 } 340 $tracking_data = array( 341 'tracking_number' => $tracking_number, 342 'carrier' => $carrier, 343 'ship_date' => $timestamp, 344 'xml' => $shipstation_xml, 345 ); 346 347 /** 348 * Allow to override tracking note. 349 * 350 * @param string $order_note 351 * @param WC_Order $order 352 * @param array $tracking_data 353 * 354 * @since 4.5.0 355 */ 356 $order_note = apply_filters( 357 'woocommerce_shipstation_shipnotify_tracking_note', 358 $order_note, 359 $order, 360 $tracking_data 361 ); 362 363 $order->add_order_note( 364 $order_note, 365 /** 366 * Allow to override should tracking note be sent to customer. 367 * 368 * @param bool $order_shipped 369 * @param string $order_note 370 * @param WC_Order $order 371 * @param array $tracking_data 372 * 373 * @since 4.5.0 374 */ 375 apply_filters( 376 'woocommerce_shipstation_shipnotify_send_tracking_note', 377 $is_customer_note, 378 $order_note, 379 $order, 380 $tracking_data 381 ) 382 ); 349 383 350 384 /** … … 356 390 'woocommerce_shipstation_shipnotify', 357 391 $order, 358 array( 359 'tracking_number' => $tracking_number, 360 'carrier' => $carrier, 361 'ship_date' => $timestamp, 362 'xml' => $shipstation_xml, 392 $tracking_data 393 ); 394 395 // Update order status. 396 if ( 397 /** 398 * Allow to override is order shipped flag. 399 * 400 * @param bool $order_shipped 401 * @param WC_Order $order 402 * @param array $tracking_data 403 * 404 * @since 4.5.0 405 */ 406 apply_filters( 407 'woocommerce_shipstation_shipnotify_order_shipped', 408 $order_shipped, 409 $order, 410 $tracking_data 363 411 ) 364 ); 412 && WC_ShipStation_Integration::$shipped_status !== $current_status 413 ) { 414 $order->update_status( WC_ShipStation_Integration::$shipped_status ); 415 416 /* translators: 1) order ID 2) shipment status */ 417 $this->log( sprintf( __( 'Updated order %1$s to status %2$s', 'woocommerce-shipstation-integration' ), $order_id, WC_ShipStation_Integration::$shipped_status ) ); 418 } 365 419 366 420 status_header( 200 ); -
woocommerce-shipstation-integration/trunk/languages/woocommerce-shipstation.pot
r3268088 r3272155 3 3 msgid "" 4 4 msgstr "" 5 "Project-Id-Version: WooCommerce - ShipStation Integration 4. 4.9\n"5 "Project-Id-Version: WooCommerce - ShipStation Integration 4.5.0\n" 6 6 "Report-Msgid-Bugs-To: " 7 7 "https://wordpress.org/support/plugin/woocommerce-shipstation\n" 8 "POT-Creation-Date: 2025-04- 07 19:42:35+00:00\n"8 "POT-Creation-Date: 2025-04-14 09:02:31+00:00\n" 9 9 "MIME-Version: 1.0\n" 10 10 "Content-Type: text/plain; charset=utf-8\n" … … 95 95 msgstr "" 96 96 97 #: includes/api-requests/class-wc-shipstation-api-shipnotify.php: 34797 #: includes/api-requests/class-wc-shipstation-api-shipnotify.php:417 98 98 #. translators: 1) order ID 2) shipment status 99 99 msgid "Updated order %1$s to status %2$s" -
woocommerce-shipstation-integration/trunk/readme.txt
r3268088 r3272155 8 8 Requires PHP: 7.4 9 9 Requires Plugins: woocommerce 10 Stable tag: 4. 4.910 Stable tag: 4.5.0 11 11 License: GPLv3 12 12 License URI: https://www.gnu.org/licenses/gpl-3.0.html … … 68 68 69 69 == Changelog == 70 71 = 4.5.0 - 2025-04-14 = 72 * Add - woocommerce_shipstation_shipnotify_order_shipped filter - Allow to override is order shipped. 73 * Add - woocommerce_shipstation_shipnotify_tracking_note filter - Allow to override tracking note. 74 * Add - woocommerce_shipstation_shipnotify_send_tracking_note filter - Allow to override should tracking note be sent to customer. 75 * Tweak - Move woocommerce_shipstation_shipnotify action before order status is updated. 70 76 71 77 = 4.4.9 - 2025-04-07 = -
woocommerce-shipstation-integration/trunk/woocommerce-shipstation.php
r3268088 r3272155 3 3 * Plugin Name: WooCommerce - ShipStation Integration 4 4 * Plugin URI: https://woocommerce.com/products/shipstation-integration/ 5 * Version: 4. 4.95 * Version: 4.5.0 6 6 * Description: Adds ShipStation label printing support to WooCommerce. Requires server DomDocument support. 7 7 * Author: WooCommerce … … 50 50 } 51 51 52 define( 'WC_SHIPSTATION_VERSION', '4. 4.9' ); // WRCS: DEFINED_VERSION.52 define( 'WC_SHIPSTATION_VERSION', '4.5.0' ); // WRCS: DEFINED_VERSION. 53 53 54 54 if ( ! defined( 'WC_SHIPSTATION_EXPORT_LIMIT' ) ) {
Note: See TracChangeset
for help on using the changeset viewer.