Plugin Directory

Changeset 2955482


Ignore:
Timestamp:
08/18/2023 05:17:54 PM (3 years ago)
Author:
expantours
Message:

new version 2.1

Location:
expan-pro/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • expan-pro/trunk/index.php

    r2902586 r2955482  
    44 * Plugin URI: https://www.expan.cl
    55 * Description: This plugin is designed to use the Expan Pro service associated with your user account created by Expan Tours.
    6  * Version: 2.0
     6 * Version: 2.1
    77 * Author: Expan Team
    88 * Text Domain: expanpro
     
    4646    {
    4747      $remote = wp_remote_get($url . '/api/share/trip_plan_api', $args);
    48       set_transient('expanpro-'.$attsstring, $remote, 360);
    49       $response = $remote;
     48      if(!is_wp_error($remote)){
     49        set_transient('expanpro-'.$attsstring, $remote, 360);
     50        $response = $remote;
     51      }
    5052    }
    5153
  • expan-pro/trunk/readme.txt

    r2903492 r2955482  
    55Tested up to: 6.0.1
    66Requires PHP: 5.6
    7 Stable tag: 2.0
     7Stable tag: 2.1
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    8383== Changelog ==
    8484
     85= 2.1 =
     86* Fixed empty response
     87
    8588= 2.0 =
    8689* Added 2 new filters: offers, plans
Note: See TracChangeset for help on using the changeset viewer.