Plugin Directory

Changeset 3409836


Ignore:
Timestamp:
12/03/2025 04:18:39 PM (4 months ago)
Author:
sjcope
Message:

Fix multiple image upload

Location:
consignment-store-for-woocommerce
Files:
32 added
4 edited

Legend:

Unmodified
Added
Removed
  • consignment-store-for-woocommerce/trunk/README.txt

    r3409622 r3409836  
    44Tags: consignment store, consignment for WooCommerce
    55Tested up to: 6.9
    6 Stable tag: 2.6.1
     6Stable tag: 2.6.2
    77License: GPLv2
    88License URI: https://www.gnu.org/licenses/gpl-2.0.html
     
    7575
    7676== Changelog ==
     77= 2.6.2 =
     78* Fix multiple image upload.
     79
    7780= 2.6.1 =
    7881* Remove console logs.
     
    163166
    164167== Upgrade Notice ==
     168= 2.6.2 =
     169* Fix multiple image upload. Upgrade when possible.
     170
    165171= 2.6.1 =
    166172* Remove console logs. Upgrade when possible.
  • consignment-store-for-woocommerce/trunk/cws-consignment.php

    r3409622 r3409836  
    1919 * Requires at least: 6.3
    2020 * Requires PHP:      8.0
    21  * Version:           2.6.1
     21 * Version:           2.6.2
    2222 * Author:            Charlene's Web Services
    2323 * Author URI:        https://charlenesweb.ca
     
    3636 * First release 1.0.0 and then using SemVer - https://semver.org X.Y.Z (Major.Minor.Patch)
    3737 */
    38 define( 'CWS_CONSIGNMENT_VERSION', '2.6.1' );
     38define( 'CWS_CONSIGNMENT_VERSION', '2.6.2' );
    3939define('CWSCS_SRC_DIR', dirname(__FILE__) );
    4040/**
  • consignment-store-for-woocommerce/trunk/includes/class-cws-consignment.php

    r3409622 r3409836  
    7272            $this->version = CWS_CONSIGNMENT_VERSION;
    7373        } else {
    74             $this->version = '2.6.1';
     74            $this->version = '2.6.2';
    7575        }
    7676        $this->plugin_name = 'cws-consignment';
  • consignment-store-for-woocommerce/trunk/public/js/cws-consignment-public.js

    r3409622 r3409836  
    167167            }
    168168            if (resizedBlob1) {
    169                 formData.append('image0', resizedBlob0, imageName + '1.jpg');
     169                formData.append('image1', resizedBlob1, imageName + '1.jpg');
    170170            }
    171171            if (resizedBlob2) {
    172                 formData.append('image0', resizedBlob0, imageName + '2.jpg');
     172                formData.append('image2', resizedBlob2, imageName + '2.jpg');
    173173            }
    174174            if (resizedBlob3) {
    175                 formData.append('image0', resizedBlob0, imageName + '3.jpg');
     175                formData.append('image3', resizedBlob3, imageName + '3.jpg');
    176176            }
    177177            formData.append('action', 'cwscs_ajax_add_item'); // Crucial for WordPress AJAX
Note: See TracChangeset for help on using the changeset viewer.