Plugin Directory

Changeset 3403896


Ignore:
Timestamp:
11/27/2025 08:59:00 AM (4 months ago)
Author:
estogroup
Message:

Deploy version 3.0.7 to trunk

Location:
esto-payment-methods/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • esto-payment-methods/trunk/Readme.txt

    r3403858 r3403896  
    11=== ESTO payment methods ===
    22Contributors: estogroup
    3 Stable tag: 3.0.6
     3Stable tag: 3.0.7
    44Requires at least: 4.2
    55Tested up to: 6.8
     
    114114
    115115== Changelog ==
     116= 3.0.7 =
     117* Improved compatibility for registering blocks
     118
    116119= 3.0.6 =
    117120* Added ESTO X period selector to configuration
  • esto-payment-methods/trunk/esto-payment-methods.php

    r3403858 r3403896  
    44 * Plugin URI: https://www.esto.ee
    55 * Description: Adds ESTO payment methods to webshop
    6  * Version: 3.0.6
     6 * Version: 3.0.7
    77 * Author: ESTO AS
    88 * Author URI: https://www.esto.eu
  • esto-payment-methods/trunk/includes/block-gateways/class-esto-payment-block.php

    r3403858 r3403896  
    7171    public function get_payment_method_script_handles() {
    7272
     73        $script_path = plugin_dir_path( dirname( __DIR__, 1 ) ) . 'assets/js/block-gateways/block-' . $this->name . '.js';
     74        $version     = file_exists( $script_path ) ? filemtime( $script_path ) : false;
     75
    7376        wp_register_script(
    7477            'wc-' . $this->name . '-block-support',
     
    8083                'wp-html-entities',
    8184            ),
    82             filemtime( dirname( __DIR__, 2 ) . '/assets/js/block-gateways/block-' . $this->name . '.js' ),
     85            $version,
    8386            true
    8487        );
Note: See TracChangeset for help on using the changeset viewer.