Plugin Directory

Changeset 3472383


Ignore:
Timestamp:
03/02/2026 06:55:12 AM (4 weeks ago)
Author:
enituretechnology
Message:

5.3.7 - 2026-03-02

  • Fix: Resolved JS files minification conflict with the WP Rocket plugin to ensure compatibility with asset optimization.

Ticket 42226030205

Location:
small-package-quotes-wwe-edition
Files:
6 edited
1 copied

Legend:

Unmodified
Added
Removed
  • small-package-quotes-wwe-edition/tags/5.3.7/front/js/en-wwe-small-checkout.js

    r2456060 r3472383  
    11jQuery(function() {
    2     if(typeof trigger == "undefined"){
     2    if (typeof trigger == "undefined") {
    33        var trigger = false;
     4
    45        jQuery('#billing_address_1').addClass('billing_address1');
    56        jQuery('#billing_address_2').addClass('billing_address_2');
     
    1112        jQuery('#shipping_postcode').addClass('shipping_postcode');
    1213
    13         jQuery('.billing_address1 , .billing_address_2 , \n\
    14                 .shipping_address_1 , .shipping_address_2 , \n\
    15                 .shipping_city , .billing_city , .billing_postcode , \n\
    16                 .shipping_postcode').on('keydown' , function(event){
    17             if(trigger == false){
     14        var fields = '.billing_address1, .billing_address_2, .shipping_address_1, .shipping_address_2, .shipping_city, .billing_city, .billing_postcode, .shipping_postcode';
     15
     16        jQuery(fields).on('keydown', function(event) {
     17            if (trigger == false) {
    1818                event.stopImmediatePropagation();
    1919            }
    20             trigger = false; 
     20            trigger = false;
    2121        });
    2222
    23         jQuery('.billing_address1 , .billing_address_2 , \n\
    24                 .shipping_address_1 , .shipping_address_2 , \n\
    25                 .shipping_city , .billing_city , .billing_postcode , \n\
    26                 .shipping_postcode').on('change' , function(event){
    27             trigger = true;
     23        jQuery(fields).on('change', function() {
     24            trigger = true;
    2825            jQuery('.billing_address1').trigger('keydown');
    29 
    3026        });
    3127    }
  • small-package-quotes-wwe-edition/tags/5.3.7/readme.txt

    r3430551 r3472383  
    44Requires at least: 6.4
    55Tested up to: 6.9
    6 Stable tag: 5.3.6
     6Stable tag: 5.3.7
    77License: GPLv2 or later
    88License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    141141
    142142== Changelog ==
     143
     144= 5.3.7 - 2026-03-02 =
     145* Fix: Resolved JS files minification conflict with the WP Rocket plugin to ensure compatibility with asset optimization.
    143146
    144147= 5.3.6 - 2026-01-01 =
  • small-package-quotes-wwe-edition/tags/5.3.7/woocommerceShip.php

    r3430551 r3472383  
    66  Author: Eniture Technology
    77  Author URI: https://eniture.com/
    8   Version: 5.3.6
     8  Version: 5.3.7
    99  Text Domain: small-package-quotes-wwe-edition
    10   License: GPL-2.0-or-later
     10  License: GPLv2 or later
     11  Requires Plugins: woocommerce
    1112 */
    1213/*
     
    462463{
    463464    wp_enqueue_script('jquery');
    464     wp_enqueue_script('en_wwe_small_frontend_checkout_script', plugin_dir_url(__FILE__) . 'front/js/en-wwe-small-checkout.js', [], '1.0.1');
     465    wp_enqueue_script('en_wwe_small_frontend_checkout_script', plugin_dir_url(__FILE__) . 'front/js/en-wwe-small-checkout.js', [], '1.0.2');
    465466    wp_localize_script('en_wwe_small_frontend_checkout_script', 'frontend_script', array(
    466467        'pluginsUrl' => plugins_url(),
  • small-package-quotes-wwe-edition/trunk/front/js/en-wwe-small-checkout.js

    r2456060 r3472383  
    11jQuery(function() {
    2     if(typeof trigger == "undefined"){
     2    if (typeof trigger == "undefined") {
    33        var trigger = false;
     4
    45        jQuery('#billing_address_1').addClass('billing_address1');
    56        jQuery('#billing_address_2').addClass('billing_address_2');
     
    1112        jQuery('#shipping_postcode').addClass('shipping_postcode');
    1213
    13         jQuery('.billing_address1 , .billing_address_2 , \n\
    14                 .shipping_address_1 , .shipping_address_2 , \n\
    15                 .shipping_city , .billing_city , .billing_postcode , \n\
    16                 .shipping_postcode').on('keydown' , function(event){
    17             if(trigger == false){
     14        var fields = '.billing_address1, .billing_address_2, .shipping_address_1, .shipping_address_2, .shipping_city, .billing_city, .billing_postcode, .shipping_postcode';
     15
     16        jQuery(fields).on('keydown', function(event) {
     17            if (trigger == false) {
    1818                event.stopImmediatePropagation();
    1919            }
    20             trigger = false; 
     20            trigger = false;
    2121        });
    2222
    23         jQuery('.billing_address1 , .billing_address_2 , \n\
    24                 .shipping_address_1 , .shipping_address_2 , \n\
    25                 .shipping_city , .billing_city , .billing_postcode , \n\
    26                 .shipping_postcode').on('change' , function(event){
    27             trigger = true;
     23        jQuery(fields).on('change', function() {
     24            trigger = true;
    2825            jQuery('.billing_address1').trigger('keydown');
    29 
    3026        });
    3127    }
  • small-package-quotes-wwe-edition/trunk/readme.txt

    r3430551 r3472383  
    44Requires at least: 6.4
    55Tested up to: 6.9
    6 Stable tag: 5.3.6
     6Stable tag: 5.3.7
    77License: GPLv2 or later
    88License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    141141
    142142== Changelog ==
     143
     144= 5.3.7 - 2026-03-02 =
     145* Fix: Resolved JS files minification conflict with the WP Rocket plugin to ensure compatibility with asset optimization.
    143146
    144147= 5.3.6 - 2026-01-01 =
  • small-package-quotes-wwe-edition/trunk/woocommerceShip.php

    r3430551 r3472383  
    66  Author: Eniture Technology
    77  Author URI: https://eniture.com/
    8   Version: 5.3.6
     8  Version: 5.3.7
    99  Text Domain: small-package-quotes-wwe-edition
    10   License: GPL-2.0-or-later
     10  License: GPLv2 or later
     11  Requires Plugins: woocommerce
    1112 */
    1213/*
     
    462463{
    463464    wp_enqueue_script('jquery');
    464     wp_enqueue_script('en_wwe_small_frontend_checkout_script', plugin_dir_url(__FILE__) . 'front/js/en-wwe-small-checkout.js', [], '1.0.1');
     465    wp_enqueue_script('en_wwe_small_frontend_checkout_script', plugin_dir_url(__FILE__) . 'front/js/en-wwe-small-checkout.js', [], '1.0.2');
    465466    wp_localize_script('en_wwe_small_frontend_checkout_script', 'frontend_script', array(
    466467        'pluginsUrl' => plugins_url(),
Note: See TracChangeset for help on using the changeset viewer.