Plugin Directory

Changeset 2955554


Ignore:
Timestamp:
08/18/2023 09:29:42 PM (3 years ago)
Author:
expantours
Message:

fixed transcient time

Location:
expan-pro/trunk
Files:
2 edited

Legend:

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

    r2955482 r2955554  
    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.1
     6 * Version: 2.2
    77 * Author: Expan Team
    88 * Text Domain: expanpro
     
    4747      $remote = wp_remote_get($url . '/api/share/trip_plan_api', $args);
    4848      if(!is_wp_error($remote)){
    49         set_transient('expanpro-'.$attsstring, $remote, 360);
    50         $response = $remote;
     49        set_transient('expanpro-'.$attsstring, $remote, 3600*12);
    5150      }
    52     }
     51      $response = $remote;
     52    }
    5353
    5454
  • expan-pro/trunk/readme.txt

    r2955482 r2955554  
    8484
    8585= 2.1 =
     86* Fixed transcient time 12 hours
     87
     88= 2.1 =
    8689* Fixed empty response
    8790
Note: See TracChangeset for help on using the changeset viewer.