Changeset 3366748
- Timestamp:
- 09/23/2025 07:11:24 PM (6 months ago)
- Location:
- cod24-shipping
- Files:
-
- 26 added
- 1 deleted
- 4 edited
-
tags/4.0.10 (added)
-
tags/4.0.10/assets (added)
-
tags/4.0.10/assets/css (added)
-
tags/4.0.10/assets/css/cod24-woo-admin.css (added)
-
tags/4.0.10/assets/css/sweetalert2.css (added)
-
tags/4.0.10/assets/index.php (added)
-
tags/4.0.10/assets/js (added)
-
tags/4.0.10/assets/js/city-select.js (added)
-
tags/4.0.10/assets/js/cod24-shcod-fee.js (added)
-
tags/4.0.10/assets/js/cod24-woo-admin.js (added)
-
tags/4.0.10/assets/js/sweetalert2.js (added)
-
tags/4.0.10/cod24-shipping.php (added)
-
tags/4.0.10/inc (added)
-
tags/4.0.10/inc/api (added)
-
tags/4.0.10/inc/api/class-cod24-api.php (added)
-
tags/4.0.10/inc/api/class-cod24-tipax-api.php (added)
-
tags/4.0.10/inc/class-cod24-settings.php (added)
-
tags/4.0.10/inc/class-cod24-shcod.php (added)
-
tags/4.0.10/inc/class-cod24-woo.php (added)
-
tags/4.0.10/inc/index.php (added)
-
tags/4.0.10/inc/shipping (added)
-
tags/4.0.10/inc/shipping/class-cod24-pishtaz.php (added)
-
tags/4.0.10/inc/shipping/class-cod24-special.php (added)
-
tags/4.0.10/inc/shipping/class-cod24-tipax.php (added)
-
tags/4.0.10/index.php (added)
-
tags/4.0.10/readme.txt (added)
-
tags/4.0.9/readme.txt (deleted)
-
trunk/assets/js/cod24-woo-admin.js (modified) (2 diffs)
-
trunk/cod24-shipping.php (modified) (2 diffs)
-
trunk/inc/class-cod24-woo.php (modified) (3 diffs)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
cod24-shipping/trunk/assets/js/cod24-woo-admin.js
r3267559 r3366748 410 410 { 411 411 // Check if response.url exists 412 swal.close();412 Swal.close(); 413 413 if (response.url) { 414 414 // Open URL in a new tab … … 461 461 { 462 462 // Check if response.url exists 463 swal.close();463 Swal.close(); 464 464 if (response.url) { 465 465 // Open URL in a new tab -
cod24-shipping/trunk/cod24-shipping.php
r3354882 r3366748 3 3 Plugin Name: COD24 Shipping For Woocommerce 4 4 Description: This plugin is adding COD24 shipping methods to woocommerce. 5 Version: 4.0. 95 Version: 4.0.10 6 6 Author: COD24 7 7 Author URI: https://cod24.ir … … 27 27 public function __construct() 28 28 { 29 define('COD24_PLUGIN_VERSION', '4.0. 9');29 define('COD24_PLUGIN_VERSION', '4.0.10'); 30 30 define('COD24_PLUGIN_DIR', plugin_dir_path(__FILE__)); 31 31 define('COD24_PLUGIN_URL', plugin_dir_url(__FILE__)); -
cod24-shipping/trunk/inc/class-cod24-woo.php
r3346653 r3366748 6 6 * Package: COD24 Shipping 7 7 * Author: COD24 8 * Last Modified Time: 2025/0 4/07 15:06:488 * Last Modified Time: 2025/09/23 22:38:16 9 9 * License: GPL-2.0+ 10 10 * License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 615 615 public function save_order_cod24_fields( $order_id ) 616 616 { 617 // Check if we are in the admin area617 // Check if we are in the admin area 618 618 if ( ! is_admin() ) { 619 619 return; … … 643 643 644 644 $shipping_types = array( 'post', 'tipax' ); 645 if( !empty( $old_cod24_info ) && isset( $old_cod24_info['shipping_type'] ) && ! empty( $old_cod24_info['shipping_type'] ) && in_array( $old_cod24_info['shipping_type'], $shipping_types ) && isset( $old_cod24_info['total_weight'] ) && ! empty( $old_cod24_info['total_weight'] ) && $old_cod24_info['total_weight'] > 0)645 if( !empty( $old_cod24_info ) && isset( $old_cod24_info['shipping_type'] ) && ! empty( $old_cod24_info['shipping_type'] ) && in_array( $old_cod24_info['shipping_type'], $shipping_types ) ) 646 646 { 647 647 $cod24_info = array(); -
cod24-shipping/trunk/readme.txt
r3354882 r3366748 3 3 Tags: cod24, iran shipping, tipax, woocommerce shipping, shipping method 4 4 Requires at least: 5.0 5 Tested up to: 6.8 .26 Stable tag: 4.0. 95 Tested up to: 6.8 6 Stable tag: 4.0.10 7 7 License: GPL-2.0+ 8 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 43 43 44 44 == Changelog == 45 46 = 4.0.10 = 47 * fixed saving cod24 info in orders with legacy format 48 * fixed swal close bug when printing the factor 45 49 46 50 = 4.0.9 =
Note: See TracChangeset
for help on using the changeset viewer.