Changeset 3447081
- Timestamp:
- 01/26/2026 12:43:50 PM (2 months ago)
- Location:
- staticdelivr
- Files:
-
- 2 added
- 6 edited
- 1 copied
-
tags/2.5.0 (copied) (copied from staticdelivr/trunk)
-
tags/2.5.0/README.txt (modified) (3 diffs)
-
tags/2.5.0/includes/class-staticdelivr-devtools.php (added)
-
tags/2.5.0/includes/class-staticdelivr.php (modified) (3 diffs)
-
tags/2.5.0/staticdelivr.php (modified) (3 diffs)
-
trunk/README.txt (modified) (3 diffs)
-
trunk/includes/class-staticdelivr-devtools.php (added)
-
trunk/includes/class-staticdelivr.php (modified) (3 diffs)
-
trunk/staticdelivr.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
staticdelivr/tags/2.5.0/README.txt
r3447066 r3447081 6 6 Tested up to: 6.9 7 7 Requires PHP: 7.4 8 Stable tag: 2. 4.18 Stable tag: 2.5.0 9 9 License: GPLv2 or later 10 10 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 240 240 == Changelog == 241 241 242 = 2.5.0 = 243 * New: Diagnostic Console API. You can now type `window.staticDelivr.status()` in the browser console to view active settings, version, and debug status instantly. 244 * New: Added `window.staticDelivr.reset()` console command to clear fallback states, useful for developers testing image recovery. 245 * Improved: Refactored diagnostic logic into a dedicated `DevTools` module to keep the fallback script lightweight and focused. 246 * Improved: Performance optimization - diagnostic scripts are printed in the footer to prevent render blocking. 247 242 248 = 2.4.1 = 243 249 * Fixed: Resolved an issue where lazy-loaded images could fail silently without triggering the fallback mechanism (Browser Intervention). … … 409 415 == Upgrade Notice == 410 416 417 = 2.5.0 = 418 Introduces new Developer Tools for easier troubleshooting. You can now check your configuration directly from the browser console. 419 411 420 = 2.4.1 = 412 421 Critical fix for images failing to load on modern browsers. This update handles "Lazy Load Interventions" and ensures the fallback mechanism works 100% of the time. Recommended for all users. -
staticdelivr/tags/2.5.0/includes/class-staticdelivr.php
r3446425 r3447081 65 65 */ 66 66 private $fallback; 67 68 /** 69 * DevTools handler instance. 70 * 71 * @var StaticDelivr_DevTools 72 */ 73 private $devtools; 67 74 68 75 /** … … 121 128 $this->fallback = StaticDelivr_Fallback::get_instance(); 122 129 130 // Initialize devtools (standalone diagnostic). 131 $this->devtools = StaticDelivr_DevTools::get_instance(); 132 123 133 // Initialize admin interface (depends on all other components). 124 134 $this->admin = StaticDelivr_Admin::get_instance(); … … 180 190 181 191 /** 192 * Get the devtools handler instance. 193 * 194 * @return StaticDelivr_DevTools 195 */ 196 public function get_devtools() { 197 return $this->devtools; 198 } 199 200 /** 182 201 * Get the admin handler instance. 183 202 * -
staticdelivr/tags/2.5.0/staticdelivr.php
r3447066 r3447081 3 3 * Plugin Name: StaticDelivr CDN 4 4 * Description: Speed up your WordPress site with free CDN delivery and automatic image optimization. Reduces load times and bandwidth costs. 5 * Version: 2. 4.15 * Version: 2.5.0 6 6 * Requires at least: 5.8 7 7 * Requires PHP: 7.4 … … 21 21 // Define plugin constants. 22 22 if (!defined('STATICDELIVR_VERSION')) { 23 define('STATICDELIVR_VERSION', '2. 4.1');23 define('STATICDELIVR_VERSION', '2.5.0'); 24 24 } 25 25 if (!defined('STATICDELIVR_PLUGIN_FILE')) { … … 74 74 require_once $includes_path . 'class-staticdelivr-google-fonts.php'; 75 75 require_once $includes_path . 'class-staticdelivr-fallback.php'; 76 require_once $includes_path . 'class-staticdelivr-devtools.php'; 76 77 require_once $includes_path . 'class-staticdelivr-admin.php'; 77 78 require_once $includes_path . 'class-staticdelivr.php'; -
staticdelivr/trunk/README.txt
r3447066 r3447081 6 6 Tested up to: 6.9 7 7 Requires PHP: 7.4 8 Stable tag: 2. 4.18 Stable tag: 2.5.0 9 9 License: GPLv2 or later 10 10 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 240 240 == Changelog == 241 241 242 = 2.5.0 = 243 * New: Diagnostic Console API. You can now type `window.staticDelivr.status()` in the browser console to view active settings, version, and debug status instantly. 244 * New: Added `window.staticDelivr.reset()` console command to clear fallback states, useful for developers testing image recovery. 245 * Improved: Refactored diagnostic logic into a dedicated `DevTools` module to keep the fallback script lightweight and focused. 246 * Improved: Performance optimization - diagnostic scripts are printed in the footer to prevent render blocking. 247 242 248 = 2.4.1 = 243 249 * Fixed: Resolved an issue where lazy-loaded images could fail silently without triggering the fallback mechanism (Browser Intervention). … … 409 415 == Upgrade Notice == 410 416 417 = 2.5.0 = 418 Introduces new Developer Tools for easier troubleshooting. You can now check your configuration directly from the browser console. 419 411 420 = 2.4.1 = 412 421 Critical fix for images failing to load on modern browsers. This update handles "Lazy Load Interventions" and ensures the fallback mechanism works 100% of the time. Recommended for all users. -
staticdelivr/trunk/includes/class-staticdelivr.php
r3446425 r3447081 65 65 */ 66 66 private $fallback; 67 68 /** 69 * DevTools handler instance. 70 * 71 * @var StaticDelivr_DevTools 72 */ 73 private $devtools; 67 74 68 75 /** … … 121 128 $this->fallback = StaticDelivr_Fallback::get_instance(); 122 129 130 // Initialize devtools (standalone diagnostic). 131 $this->devtools = StaticDelivr_DevTools::get_instance(); 132 123 133 // Initialize admin interface (depends on all other components). 124 134 $this->admin = StaticDelivr_Admin::get_instance(); … … 180 190 181 191 /** 192 * Get the devtools handler instance. 193 * 194 * @return StaticDelivr_DevTools 195 */ 196 public function get_devtools() { 197 return $this->devtools; 198 } 199 200 /** 182 201 * Get the admin handler instance. 183 202 * -
staticdelivr/trunk/staticdelivr.php
r3447066 r3447081 3 3 * Plugin Name: StaticDelivr CDN 4 4 * Description: Speed up your WordPress site with free CDN delivery and automatic image optimization. Reduces load times and bandwidth costs. 5 * Version: 2. 4.15 * Version: 2.5.0 6 6 * Requires at least: 5.8 7 7 * Requires PHP: 7.4 … … 21 21 // Define plugin constants. 22 22 if (!defined('STATICDELIVR_VERSION')) { 23 define('STATICDELIVR_VERSION', '2. 4.1');23 define('STATICDELIVR_VERSION', '2.5.0'); 24 24 } 25 25 if (!defined('STATICDELIVR_PLUGIN_FILE')) { … … 74 74 require_once $includes_path . 'class-staticdelivr-google-fonts.php'; 75 75 require_once $includes_path . 'class-staticdelivr-fallback.php'; 76 require_once $includes_path . 'class-staticdelivr-devtools.php'; 76 77 require_once $includes_path . 'class-staticdelivr-admin.php'; 77 78 require_once $includes_path . 'class-staticdelivr.php';
Note: See TracChangeset
for help on using the changeset viewer.