Changeset 3477197
- Timestamp:
- 03/07/2026 10:24:14 PM (4 weeks ago)
- Location:
- webful
- Files:
-
- 7 edited
- 4 copied
-
tags/2.5.3 (copied) (copied from webful/trunk)
-
tags/2.5.3/assets/js/webful-tracker.js (copied) (copied from webful/trunk/assets/js/webful-tracker.js) (1 diff)
-
tags/2.5.3/includes/class-webful-api.php (modified) (1 diff)
-
tags/2.5.3/includes/class-webful-tracker.php (modified) (2 diffs)
-
tags/2.5.3/readme.txt (copied) (copied from webful/trunk/readme.txt) (1 diff)
-
tags/2.5.3/webful.php (copied) (copied from webful/trunk/webful.php) (2 diffs)
-
trunk/assets/js/webful-tracker.js (modified) (1 diff)
-
trunk/includes/class-webful-api.php (modified) (1 diff)
-
trunk/includes/class-webful-tracker.php (modified) (2 diffs)
-
trunk/readme.txt (modified) (1 diff)
-
trunk/webful.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
webful/tags/2.5.3/assets/js/webful-tracker.js
r3477164 r3477197 14 14 15 15 // Marqueur de version pour détection de mise à jour 16 window.WEBFUL_PLUGIN_VERSION = '2.5. 2';16 window.WEBFUL_PLUGIN_VERSION = '2.5.3'; 17 17 18 18 // Configuration injectée par WordPress -
webful/tags/2.5.3/includes/class-webful-api.php
r3409217 r3477197 97 97 98 98 $response = wp_remote_post($this->api_base . '/check-quota.php', array( 99 'timeout' => 15,99 'timeout' => 2, 100 100 'headers' => array('Content-Type' => 'application/json'), 101 101 'body' => json_encode(array( -
webful/tags/2.5.3/includes/class-webful-tracker.php
r3400049 r3477197 71 71 // Vérifier le quota si l'option est activée 72 72 if (get_option('webful_check_quota', '1') === '1') { 73 // Utiliser un transient pour mettre en cache le quota ( 5 minutes)73 // Utiliser un transient pour mettre en cache le quota (1 heure) 74 74 $quota_cache = get_transient('webful_quota_check'); 75 75 … … 79 79 if (is_wp_error($quota)) { 80 80 // En cas d'erreur, continuer le tracking (fail-safe) 81 set_transient('webful_quota_check', array('quota_ok' => true), 5 * MINUTE_IN_SECONDS);81 set_transient('webful_quota_check', array('quota_ok' => true), HOUR_IN_SECONDS); 82 82 } else { 83 83 $quota_ok = isset($quota['quota_ok']) ? $quota['quota_ok'] : false; 84 set_transient('webful_quota_check', array('quota_ok' => $quota_ok), 5 * MINUTE_IN_SECONDS);84 set_transient('webful_quota_check', array('quota_ok' => $quota_ok), HOUR_IN_SECONDS); 85 85 86 86 if (!$quota_ok) { -
webful/tags/2.5.3/readme.txt
r3477164 r3477197 6 6 Tested up to: 6.9 7 7 Requires PHP: 7.4 8 Stable tag: 2.5. 28 Stable tag: 2.5.3 9 9 License: GPLv2 or later 10 10 License URI: https://www.gnu.org/licenses/gpl-2.0.html -
webful/tags/2.5.3/webful.php
r3477164 r3477197 3 3 * Plugin Name: WEBFUL Analytics 4 4 * Description: Système d'analyse de trafic ultra-léger et respectueux de la vie privée. Suivez vos statistiques sans ralentir votre site. 5 * Version: 2.5. 25 * Version: 2.5.3 6 6 * Author: WEBFUL 7 7 * Author URI: https://webful.fr … … 20 20 21 21 // Définir les constantes du plugin 22 define('WEBFUL_VERSION', '2.5. 2');22 define('WEBFUL_VERSION', '2.5.3'); 23 23 define('WEBFUL_PLUGIN_DIR', plugin_dir_path(__FILE__)); 24 24 define('WEBFUL_PLUGIN_URL', plugin_dir_url(__FILE__)); -
webful/trunk/assets/js/webful-tracker.js
r3477164 r3477197 14 14 15 15 // Marqueur de version pour détection de mise à jour 16 window.WEBFUL_PLUGIN_VERSION = '2.5. 2';16 window.WEBFUL_PLUGIN_VERSION = '2.5.3'; 17 17 18 18 // Configuration injectée par WordPress -
webful/trunk/includes/class-webful-api.php
r3409217 r3477197 97 97 98 98 $response = wp_remote_post($this->api_base . '/check-quota.php', array( 99 'timeout' => 15,99 'timeout' => 2, 100 100 'headers' => array('Content-Type' => 'application/json'), 101 101 'body' => json_encode(array( -
webful/trunk/includes/class-webful-tracker.php
r3400049 r3477197 71 71 // Vérifier le quota si l'option est activée 72 72 if (get_option('webful_check_quota', '1') === '1') { 73 // Utiliser un transient pour mettre en cache le quota ( 5 minutes)73 // Utiliser un transient pour mettre en cache le quota (1 heure) 74 74 $quota_cache = get_transient('webful_quota_check'); 75 75 … … 79 79 if (is_wp_error($quota)) { 80 80 // En cas d'erreur, continuer le tracking (fail-safe) 81 set_transient('webful_quota_check', array('quota_ok' => true), 5 * MINUTE_IN_SECONDS);81 set_transient('webful_quota_check', array('quota_ok' => true), HOUR_IN_SECONDS); 82 82 } else { 83 83 $quota_ok = isset($quota['quota_ok']) ? $quota['quota_ok'] : false; 84 set_transient('webful_quota_check', array('quota_ok' => $quota_ok), 5 * MINUTE_IN_SECONDS);84 set_transient('webful_quota_check', array('quota_ok' => $quota_ok), HOUR_IN_SECONDS); 85 85 86 86 if (!$quota_ok) { -
webful/trunk/readme.txt
r3477164 r3477197 6 6 Tested up to: 6.9 7 7 Requires PHP: 7.4 8 Stable tag: 2.5. 28 Stable tag: 2.5.3 9 9 License: GPLv2 or later 10 10 License URI: https://www.gnu.org/licenses/gpl-2.0.html -
webful/trunk/webful.php
r3477164 r3477197 3 3 * Plugin Name: WEBFUL Analytics 4 4 * Description: Système d'analyse de trafic ultra-léger et respectueux de la vie privée. Suivez vos statistiques sans ralentir votre site. 5 * Version: 2.5. 25 * Version: 2.5.3 6 6 * Author: WEBFUL 7 7 * Author URI: https://webful.fr … … 20 20 21 21 // Définir les constantes du plugin 22 define('WEBFUL_VERSION', '2.5. 2');22 define('WEBFUL_VERSION', '2.5.3'); 23 23 define('WEBFUL_PLUGIN_DIR', plugin_dir_path(__FILE__)); 24 24 define('WEBFUL_PLUGIN_URL', plugin_dir_url(__FILE__));
Note: See TracChangeset
for help on using the changeset viewer.