Plugin Directory

Changeset 2595616


Ignore:
Timestamp:
09/08/2021 11:01:26 AM (5 years ago)
Author:
laijis
Message:

tested upto latest version

Location:
time-express/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • time-express/trunk/readme.txt

    r2550745 r2595616  
    33Tags: timexpress, woocommerce, shipping
    44Requires at least: 4.0
    5 Tested up to: 5.7.2
     5Tested up to: 5.8
    66Requires PHP: 7.0
    77Stable tag: 1.0.3
  • time-express/trunk/utils/functions.php

    r2550745 r2595616  
    1515            );
    1616        $response = wp_remote_post( $api_url, $args );
     17        if(!empty($response)){
    1718        if($response['response']['code']!=200){
    1819                return array('error'=>true,'msg'=>$response['response']['message']);
    1920        }
    2021        return array('error'=>false,'response'=>$response['body']);
     22        }else{
     23            return array('error'=>true,'msg'=>'Failed connection');
     24        }
    2125}
    2226/**Returns Data Array TO Process  */
Note: See TracChangeset for help on using the changeset viewer.