Plugin Directory

Changeset 3366748


Ignore:
Timestamp:
09/23/2025 07:11:24 PM (6 months ago)
Author:
cod24
Message:
  • fixed saving cod24 info in orders with legacy format
  • fixed swal close bug when printing the factor
Location:
cod24-shipping
Files:
26 added
1 deleted
4 edited

Legend:

Unmodified
Added
Removed
  • cod24-shipping/trunk/assets/js/cod24-woo-admin.js

    r3267559 r3366748  
    410410                {
    411411                    // Check if response.url exists
    412                     swal.close();
     412                    Swal.close();
    413413                    if (response.url) {
    414414                        // Open URL in a new tab
     
    461461                {
    462462                    // Check if response.url exists
    463                     swal.close();
     463                    Swal.close();
    464464                    if (response.url) {
    465465                        // Open URL in a new tab
  • cod24-shipping/trunk/cod24-shipping.php

    r3354882 r3366748  
    33Plugin Name: COD24 Shipping For Woocommerce
    44Description: This plugin is adding COD24 shipping methods to woocommerce.
    5 Version: 4.0.9
     5Version: 4.0.10
    66Author: COD24
    77Author URI: https://cod24.ir
     
    2727        public function __construct()
    2828        {
    29             define('COD24_PLUGIN_VERSION', '4.0.9');
     29            define('COD24_PLUGIN_VERSION', '4.0.10');
    3030            define('COD24_PLUGIN_DIR', plugin_dir_path(__FILE__));
    3131            define('COD24_PLUGIN_URL', plugin_dir_url(__FILE__));
  • cod24-shipping/trunk/inc/class-cod24-woo.php

    r3346653 r3366748  
    66 * Package: COD24 Shipping
    77 * Author: COD24
    8  * Last Modified Time: 2025/04/07 15:06:48
     8 * Last Modified Time: 2025/09/23 22:38:16
    99 * License: GPL-2.0+
    1010 * License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    615615        public function save_order_cod24_fields( $order_id )
    616616        {
    617             // Check if we are in the admin area
     617            // Check if we are in the admin area
    618618            if ( ! is_admin() ) {
    619619                return;
     
    643643
    644644            $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 ) )
    646646            {
    647647                $cod24_info = array();
  • cod24-shipping/trunk/readme.txt

    r3354882 r3366748  
    33Tags: cod24, iran shipping, tipax, woocommerce shipping, shipping method
    44Requires at least: 5.0
    5 Tested up to: 6.8.2
    6 Stable tag: 4.0.9
     5Tested up to: 6.8
     6Stable tag: 4.0.10
    77License: GPL-2.0+
    88License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    4343
    4444== 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
    4549
    4650= 4.0.9 =
Note: See TracChangeset for help on using the changeset viewer.