From 6ec8510fc73806517a11f52930367ae62a30441f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ant=C3=B3nio=20Gon=C3=A7alves?= Date: Thu, 29 Aug 2024 11:46:05 +0100 Subject: [PATCH] Prevent "iotcat_subcription" script from crashing when a get request times out --- includes/iotcat_subscription.php | 2 +- index.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/iotcat_subscription.php b/includes/iotcat_subscription.php index 63b8d68..babed4a 100644 --- a/includes/iotcat_subscription.php +++ b/includes/iotcat_subscription.php @@ -2,7 +2,7 @@ require_once __DIR__ . '/log.php'; require_once __DIR__ . '/iotcat_components.php'; - + set_time_limit(0); class IoTCat_subscription { function __construct($token, $iotcat_elements_instances,$base_url ){ diff --git a/index.php b/index.php index 8155a72..d8ccbc9 100644 --- a/index.php +++ b/index.php @@ -3,7 +3,7 @@ /** * Plugin Name: IoT Catalogue Integration * Description: Display in WordPress content from IoT Catalogue - * Version: 1.10.1 + * Version: 1.10.2 * Author: UNPARALLEL Innovation, Lda * Author URI: https://www.unparallel.pt */