Changeset 2955482
- Timestamp:
- 08/18/2023 05:17:54 PM (3 years ago)
- Location:
- expan-pro/trunk
- Files:
-
- 2 edited
-
index.php (modified) (2 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
expan-pro/trunk/index.php
r2902586 r2955482 4 4 * Plugin URI: https://www.expan.cl 5 5 * Description: This plugin is designed to use the Expan Pro service associated with your user account created by Expan Tours. 6 * Version: 2. 06 * Version: 2.1 7 7 * Author: Expan Team 8 8 * Text Domain: expanpro … … 46 46 { 47 47 $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 } 50 52 } 51 53 -
expan-pro/trunk/readme.txt
r2903492 r2955482 5 5 Tested up to: 6.0.1 6 6 Requires PHP: 5.6 7 Stable tag: 2. 07 Stable tag: 2.1 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 83 83 == Changelog == 84 84 85 = 2.1 = 86 * Fixed empty response 87 85 88 = 2.0 = 86 89 * Added 2 new filters: offers, plans
Note: See TracChangeset
for help on using the changeset viewer.