Plugin Directory

Changeset 3348134


Ignore:
Timestamp:
08/21/2025 12:45:03 PM (8 months ago)
Author:
postcodenl
Message:

Update plugin files for release 2.6.4

Location:
postcode-eu-address-validation/trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • postcode-eu-address-validation/trunk/assets/js/postcode-eu-autofill.js

    r3329110 r3348134  
    268268    const addAddressAutocompleteNl = function (container, addressType)
    269269    {
    270         if (settings.netherlandsMode !== 'postcodeOnly')
     270        if (typeof settings.enabledCountries.NL === 'undefined' || settings.netherlandsMode !== 'postcodeOnly')
    271271        {
    272272            return;
  • postcode-eu-address-validation/trunk/postcode-eu-address-validation.php

    r3329110 r3348134  
    44 * Plugin URI: https://www.postcode.eu/products/address-api/implementation
    55 * Description: Address autocomplete and validation using the Postcode.eu API.
    6  * Version: 2.6.3
     6 * Version: 2.6.4
    77 * Author: Postcode.nl
    88 * Author URI: https://www.postcode.nl
     
    1414 * Requires PHP: 7.4
    1515 * WC requires at least: 8.5
    16  * WC tested up to: 9.9
     16 * WC tested up to: 10.1
    1717 */
    1818
  • postcode-eu-address-validation/trunk/readme.txt

    r3329110 r3348134  
    22Contributors: postcodenl
    33Tags: address validation, address autocomplete, postcode api, address api, postcode check
    4 Stable tag: 2.6.3
     4Stable tag: 2.6.4
    55Tested up to: 6.8
    66License: FreeBSD license
     
    8787== Changelog ==
    8888
     89= 2.6.4 =
     90* Fix NL disabled after changing lookup method.
     91
    8992= 2.6.3 =
    9093* Fix compatibility with Divi checkout.
  • postcode-eu-address-validation/trunk/src/PostcodeNl/AddressAutocomplete/Main.php

    r3329110 r3348134  
    1515
    1616    /** @var string The version number of the plugin should be equal to the commented version number in ../../../postcode-eu-address-validation.php */
    17     public const VERSION = '2.6.3';
     17    public const VERSION = '2.6.4';
    1818
    1919    /** @var string Script handle of the autocomplete library. */
  • postcode-eu-address-validation/trunk/src/PostcodeNl/AddressAutocomplete/Options.php

    r3310291 r3348134  
    190190            foreach ($this->getSupportedCountries() as $supportedCountry)
    191191            {
    192                 if ($supportedCountry['iso3'] === 'NLD' && $this->netherlandsMode === static::NETHERLANDS_MODE_POSTCODE_ONLY)
    193                 {
    194                     continue;
    195                 }
    196 
    197192                $checkbox = sprintf(
    198193                    '<input type="checkbox" name="%s" %s/>',
Note: See TracChangeset for help on using the changeset viewer.