Plugin Directory

Changeset 3191772


Ignore:
Timestamp:
11/19/2024 04:31:33 AM (16 months ago)
Author:
shipany
Message:

release v1.1.61

Location:
shipany
Files:
6 edited
1 copied

Legend:

Unmodified
Added
Removed
  • shipany/tags/1.1.61/includes/Utils/ShipanyHelper.php

    r3115376 r3191772  
    383383            ),
    384384            "dim" => array(
    385                 "len" => count($items) > 1 ? 1 : (floatval($items[0]['dim']['len']) ?: 1),
    386                 "wid" => count($items) > 1 ? 1 : (floatval($items[0]['dim']['wid']) ?: 1),
    387                 "hgt" => count($items) > 1 ? 1 : (floatval($items[0]['dim']['hgt']) ?: 1),
     385                "len" => count($items) > 1 ? 1 : ((floatval($items[0]['dim']['len']) / 10) ?: 1),
     386                "wid" => count($items) > 1 ? 1 : ((floatval($items[0]['dim']['wid']) / 10) ?: 1),
     387                "hgt" => count($items) > 1 ? 1 : ((floatval($items[0]['dim']['hgt']) / 10) ?: 1),
    388388                "unt" => 'cm'
    389389            ),
  • shipany/tags/1.1.61/readme.txt

    r3135438 r3191772  
    44Requires at least: 4.1
    55Tested up to: 6.5.5
    6 Stable tag: 1.1.60
     6Stable tag: 1.1.61
    77Requires PHP: 5.6
    88License: GPLv2 or later
     
    7171== Changelog ==
    7272
     73= 1.1.61 =
     74- Bug fix
     75
    7376= 1.1.60 =
    7477- Enhanced locker listing speed
  • shipany/tags/1.1.61/shipany-woocommerce.php

    r3135438 r3191772  
    77Plugin URI: http://wordpress.org/plugins/shipany
    88Description: ShipAny one-stop logistics platform interconnects WooCommerce to multiple logistics service providers (including SF Express, Kerry Express, SF Cold-Chain, Alfred Locker, Hongkong Post, SF Locker, Convenience Store, etc.) so merchants can enjoy full-set features of logistics automation which disrupt the manual logistics process and bring E-Commerce to new generation.
    9 Version: 1.1.60
     9Version: 1.1.61
    1010Author: ShipAny
    1111Author URI: https://www.shipany.io
     
    677677    class SHIPANY_WC {
    678678        public static $list;
    679         private $version = "1.1.60";
     679        private $version = "1.1.61";
    680680
    681681        protected static $_instance = null;
     
    13111311                $body = wp_remote_retrieve_body($response_merchant);
    13121312                $body = json_decode($body)->data->objects;
    1313                 if ($body[0]->activated !== true) {
     1313                if ($body[0]->activated === false) {
    13141314                    wp_send_json_error(['data' => [
    13151315                        'error_title' => __('Please activate your account first.', 'shipany'),
  • shipany/trunk/includes/Utils/ShipanyHelper.php

    r3115376 r3191772  
    383383            ),
    384384            "dim" => array(
    385                 "len" => count($items) > 1 ? 1 : (floatval($items[0]['dim']['len']) ?: 1),
    386                 "wid" => count($items) > 1 ? 1 : (floatval($items[0]['dim']['wid']) ?: 1),
    387                 "hgt" => count($items) > 1 ? 1 : (floatval($items[0]['dim']['hgt']) ?: 1),
     385                "len" => count($items) > 1 ? 1 : ((floatval($items[0]['dim']['len']) / 10) ?: 1),
     386                "wid" => count($items) > 1 ? 1 : ((floatval($items[0]['dim']['wid']) / 10) ?: 1),
     387                "hgt" => count($items) > 1 ? 1 : ((floatval($items[0]['dim']['hgt']) / 10) ?: 1),
    388388                "unt" => 'cm'
    389389            ),
  • shipany/trunk/readme.txt

    r3135438 r3191772  
    44Requires at least: 4.1
    55Tested up to: 6.5.5
    6 Stable tag: 1.1.60
     6Stable tag: 1.1.61
    77Requires PHP: 5.6
    88License: GPLv2 or later
     
    7171== Changelog ==
    7272
     73= 1.1.61 =
     74- Bug fix
     75
    7376= 1.1.60 =
    7477- Enhanced locker listing speed
  • shipany/trunk/shipany-woocommerce.php

    r3135438 r3191772  
    77Plugin URI: http://wordpress.org/plugins/shipany
    88Description: ShipAny one-stop logistics platform interconnects WooCommerce to multiple logistics service providers (including SF Express, Kerry Express, SF Cold-Chain, Alfred Locker, Hongkong Post, SF Locker, Convenience Store, etc.) so merchants can enjoy full-set features of logistics automation which disrupt the manual logistics process and bring E-Commerce to new generation.
    9 Version: 1.1.60
     9Version: 1.1.61
    1010Author: ShipAny
    1111Author URI: https://www.shipany.io
     
    677677    class SHIPANY_WC {
    678678        public static $list;
    679         private $version = "1.1.60";
     679        private $version = "1.1.61";
    680680
    681681        protected static $_instance = null;
     
    13111311                $body = wp_remote_retrieve_body($response_merchant);
    13121312                $body = json_decode($body)->data->objects;
    1313                 if ($body[0]->activated !== true) {
     1313                if ($body[0]->activated === false) {
    13141314                    wp_send_json_error(['data' => [
    13151315                        'error_title' => __('Please activate your account first.', 'shipany'),
Note: See TracChangeset for help on using the changeset viewer.