Plugin Directory

Changeset 3409622


Ignore:
Timestamp:
12/03/2025 02:01:57 PM (4 months ago)
Author:
sjcope
Message:

Update for WP 6.9 and remove console logs

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

Legend:

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

    r3336736 r3409622  
    33Donate link: https://charlenesweb.ca/donate/
    44Tags: consignment store, consignment for WooCommerce
    5 Tested up to: 6.8
    6 Stable tag: 2.5
     5Tested up to: 6.9
     6Stable tag: 2.6.1
    77License: GPLv2
    88License URI: https://www.gnu.org/licenses/gpl-2.0.html
     
    7575
    7676== Changelog ==
     77= 2.6.1 =
     78* Remove console logs.
     79
     80= 2.6 =
     81* Change to form submission to work with WordPress 6.9.
     82
    7783= 2.5 =
    7884* Big changes! Images will now be resized to a maximum of 800px wide or 600px high on the user's device, before uploading. You should experience some faster upload speeds.
     
    157163
    158164== Upgrade Notice ==
     165= 2.6.1 =
     166* Remove console logs. Upgrade when possible.
     167
     168= 2.6 =
     169* Change to form submission to work with WordPress 6.9. Upgrade as soon as possible.
     170
    159171= 2.5 =
    160172* Big changes! Images will now be resized to a maximum of 800px wide or 600px high on the user's device, before uploading. You should experience some faster upload speeds. Update when convenient.
  • consignment-store-for-woocommerce/trunk/cws-consignment.php

    r3336736 r3409622  
    1919 * Requires at least: 6.3
    2020 * Requires PHP:      8.0
    21  * Version:           2.5
     21 * Version:           2.6.1
    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.5' );
     38define( 'CWS_CONSIGNMENT_VERSION', '2.6.1' );
    3939define('CWSCS_SRC_DIR', dirname(__FILE__) );
    4040/**
  • consignment-store-for-woocommerce/trunk/includes/class-cws-consignment.php

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

    r3336736 r3409622  
    127127
    128128        // Handle additem form submit
    129         form.addEventListener('submit', function (e) {
     129        const forms = document.querySelectorAll('form#cwscs_formadditem');
     130        if (forms.length > 0) {
     131            form.addEventListener('submit', function (e) {
    130132            e.preventDefault();
    131133            cwsStartSpinner("Please wait...") ;
     
    203205                alert('An error occurred.');
    204206            });
    205         });
     207            });
     208        }
    206209    }); // END load
    207210    ////////////////////////////////  SPINNER  FUNCTIONS  /////////////////////////////////
Note: See TracChangeset for help on using the changeset viewer.