Plugin Directory

Changeset 3111869


Ignore:
Timestamp:
07/03/2024 04:26:43 PM (21 months ago)
Author:
agechecker
Message:
  • Add check that stops AgeChecker from trying to load twice in the uncommon case that the site loads the script twice in the DOM
Location:
agecheckernet
Files:
4 added
3 edited

Legend:

Unmodified
Added
Removed
  • agecheckernet/trunk/agechecker.php

    r3101919 r3111869  
    44Plugin URI:  https://agechecker.net
    55Description: AgeChecker.Net seamlessly and securely verifies the age of your customers directly on your website during the checkout process. Keep your site up to date on the latest age regulations for your industry while ensuring that purchasing is frustration-free for your site users.
    6 Version:     1.19.0
     6Version:     1.19.1
    77Author:      AgeChecker.Net
    88Author URI:  https://agechecker.net
  • agecheckernet/trunk/class-wc-integration-agechecker-integration.php

    r3101919 r3111869  
    17501750            <?php } ?><script data-cfasync="false">
    17511751            (function(w,d) {
    1752             if(location.href.indexOf("checkout/order-received") != -1) return;
     1752            if(location.href.indexOf("checkout/order-received") != -1 || w.AgeChecker_WC_Checkout_Loaded) return;
     1753            w.AgeChecker_WC_Checkout_Loaded = true;
    17531754            <?php echo $this->before_script; ?>
    17541755
     
    18881889            <?php } ?><script data-cfasync="false">
    18891890            (function(w,d) {
     1891            if(w.AgeChecker_WC_Checkout_Loaded) return;
     1892            w.AgeChecker_WC_Checkout_Loaded = true;
     1893
    18901894            <?php echo $this->before_script; ?>
    18911895
  • agecheckernet/trunk/readme.txt

    r3101919 r3111869  
    44Requires at least: 4.4
    55Tested up to: 6.5
    6 Stable tag: 1.19.0
     6Stable tag: 1.19.1
    77
    88AgeChecker.Net seamlessly and securely verifies the age of your customers directly on your website during the checkout process.
     
    6363== Changelog ==
    6464
     65= 1.19.1 =
     66*Release Date - 3 July 2024*
     67
     68* Add check that stops AgeChecker from trying to load twice in the uncommon case that the site loads the script twice in the DOM
     69
    6570= 1.19.0 =
    6671*Release Date - 12 June 2024*
Note: See TracChangeset for help on using the changeset viewer.