Plugin Directory

Changeset 3106287


Ignore:
Timestamp:
06/23/2024 06:44:35 PM (9 months ago)
Author:
ok9xnirab
Message:

v1.0.8 released.

Location:
integration-of-pathao-for-woocommerce/trunk
Files:
1 added
1 deleted
5 edited

Legend:

Unmodified
Added
Removed
  • integration-of-pathao-for-woocommerce/trunk/assets/js/admin.js

    r3057517 r3106287  
    270270                    $('.pathao-shipping-spinner').removeClass('is-active');
    271271                    const errors = res.errors;
     272                    if (!errors && res.message) {
     273                        $.toast({
     274                            position: 'bottom-center',
     275                            text: res.message,
     276                            icon: 'error',
     277                            hideAfter: 6000,
     278                        });
     279                    }
    272280                    $.each(errors, function (key, value) {
    273281                        $.toast({
  • integration-of-pathao-for-woocommerce/trunk/includes/Admin/Order.php

    r3057517 r3106287  
    4747        : 'shop_order';
    4848
    49         add_meta_box(
    50             'pathao_order_wc',
    51             __( 'Pathao Shipping', 'sdevs_pathao' ),
    52             array( $this, 'pathao_shipping' ),
    53             $screen,
    54             'side',
    55             'default'
    56         );
     49        // phpcs:ignore
     50        if (  isset( $_GET['action'] ) && 'edit' === $_GET['action']) {
     51            add_meta_box(
     52                'pathao_order_wc',
     53                __( 'Pathao Shipping', 'sdevs_pathao' ),
     54                array( $this, 'pathao_shipping' ),
     55                $screen,
     56                'side',
     57                'default'
     58            );
     59        }
    5760    }
    5861
  • integration-of-pathao-for-woocommerce/trunk/includes/Illuminate/class-pathao-method.php

    r3057517 r3106287  
    148148                        'type'              => 'number',
    149149                        'custom_attributes' => array(
    150                             'steps'    => 'any',
     150                            'step'     => '0.1',
    151151                            'min'      => '0.1',
    152152                            'max'      => '200.0',
  • integration-of-pathao-for-woocommerce/trunk/readme.txt

    r3080049 r3106287  
    55Requires at least: 4.0
    66Tested up to: 6.5
    7 Stable tag: 1.0.7
     7Stable tag: 1.0.8
    88Requires PHP: 7.0
    99License: GPLv2 or later
     
    7373== Changelog ==
    7474
     75= 1.0.8 =
     76
     77*   Error message doesn't display when success is false.
     78*   Ready for v1.3 pro version.
     79
    7580 = 1.0.7 =
    7681
  • integration-of-pathao-for-woocommerce/trunk/vendor/composer/installed.php

    r3057517 r3106287  
    44        'pretty_version' => 'dev-next',
    55        'version' => 'dev-next',
    6         'reference' => '9f933bcefa1824cb85523df43c0384be2f005459',
     6        'reference' => '51fa5f2bb910a3db9484c498d2169fed5c80cf58',
    77        'type' => 'wordpress-plugin',
    88        'install_path' => __DIR__ . '/../../',
     
    1414            'pretty_version' => 'dev-next',
    1515            'version' => 'dev-next',
    16             'reference' => '9f933bcefa1824cb85523df43c0384be2f005459',
     16            'reference' => '51fa5f2bb910a3db9484c498d2169fed5c80cf58',
    1717            'type' => 'wordpress-plugin',
    1818            'install_path' => __DIR__ . '/../../',
Note: See TracChangeset for help on using the changeset viewer.