Plugin Directory

Changeset 3447081


Ignore:
Timestamp:
01/26/2026 12:43:50 PM (2 months ago)
Author:
coozywana
Message:

Update to version 2.5.0 from GitHub

Location:
staticdelivr
Files:
2 added
6 edited
1 copied

Legend:

Unmodified
Added
Removed
  • staticdelivr/tags/2.5.0/README.txt

    r3447066 r3447081  
    66Tested up to: 6.9
    77Requires PHP: 7.4
    8 Stable tag: 2.4.1
     8Stable tag: 2.5.0
    99License: GPLv2 or later
    1010License URI: https://www.gnu.org/licenses/gpl-2.0.html
     
    240240== Changelog ==
    241241
     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
    242248= 2.4.1 =
    243249* Fixed: Resolved an issue where lazy-loaded images could fail silently without triggering the fallback mechanism (Browser Intervention).
     
    409415== Upgrade Notice ==
    410416
     417= 2.5.0 =
     418Introduces new Developer Tools for easier troubleshooting. You can now check your configuration directly from the browser console.
     419
    411420= 2.4.1 =
    412421Critical 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  
    6565     */
    6666    private $fallback;
     67
     68    /**
     69     * DevTools handler instance.
     70     *
     71     * @var StaticDelivr_DevTools
     72     */
     73    private $devtools;
    6774
    6875    /**
     
    121128        $this->fallback = StaticDelivr_Fallback::get_instance();
    122129
     130        // Initialize devtools (standalone diagnostic).
     131        $this->devtools = StaticDelivr_DevTools::get_instance();
     132
    123133        // Initialize admin interface (depends on all other components).
    124134        $this->admin = StaticDelivr_Admin::get_instance();
     
    180190
    181191    /**
     192     * Get the devtools handler instance.
     193     *
     194     * @return StaticDelivr_DevTools
     195     */
     196    public function get_devtools() {
     197        return $this->devtools;
     198    }
     199
     200    /**
    182201     * Get the admin handler instance.
    183202     *
  • staticdelivr/tags/2.5.0/staticdelivr.php

    r3447066 r3447081  
    33 * Plugin Name: StaticDelivr CDN
    44 * Description: Speed up your WordPress site with free CDN delivery and automatic image optimization. Reduces load times and bandwidth costs.
    5  * Version: 2.4.1
     5 * Version: 2.5.0
    66 * Requires at least: 5.8
    77 * Requires PHP: 7.4
     
    2121// Define plugin constants.
    2222if (!defined('STATICDELIVR_VERSION')) {
    23     define('STATICDELIVR_VERSION', '2.4.1');
     23    define('STATICDELIVR_VERSION', '2.5.0');
    2424}
    2525if (!defined('STATICDELIVR_PLUGIN_FILE')) {
     
    7474    require_once $includes_path . 'class-staticdelivr-google-fonts.php';
    7575    require_once $includes_path . 'class-staticdelivr-fallback.php';
     76    require_once $includes_path . 'class-staticdelivr-devtools.php';
    7677    require_once $includes_path . 'class-staticdelivr-admin.php';
    7778    require_once $includes_path . 'class-staticdelivr.php';
  • staticdelivr/trunk/README.txt

    r3447066 r3447081  
    66Tested up to: 6.9
    77Requires PHP: 7.4
    8 Stable tag: 2.4.1
     8Stable tag: 2.5.0
    99License: GPLv2 or later
    1010License URI: https://www.gnu.org/licenses/gpl-2.0.html
     
    240240== Changelog ==
    241241
     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
    242248= 2.4.1 =
    243249* Fixed: Resolved an issue where lazy-loaded images could fail silently without triggering the fallback mechanism (Browser Intervention).
     
    409415== Upgrade Notice ==
    410416
     417= 2.5.0 =
     418Introduces new Developer Tools for easier troubleshooting. You can now check your configuration directly from the browser console.
     419
    411420= 2.4.1 =
    412421Critical 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  
    6565     */
    6666    private $fallback;
     67
     68    /**
     69     * DevTools handler instance.
     70     *
     71     * @var StaticDelivr_DevTools
     72     */
     73    private $devtools;
    6774
    6875    /**
     
    121128        $this->fallback = StaticDelivr_Fallback::get_instance();
    122129
     130        // Initialize devtools (standalone diagnostic).
     131        $this->devtools = StaticDelivr_DevTools::get_instance();
     132
    123133        // Initialize admin interface (depends on all other components).
    124134        $this->admin = StaticDelivr_Admin::get_instance();
     
    180190
    181191    /**
     192     * Get the devtools handler instance.
     193     *
     194     * @return StaticDelivr_DevTools
     195     */
     196    public function get_devtools() {
     197        return $this->devtools;
     198    }
     199
     200    /**
    182201     * Get the admin handler instance.
    183202     *
  • staticdelivr/trunk/staticdelivr.php

    r3447066 r3447081  
    33 * Plugin Name: StaticDelivr CDN
    44 * Description: Speed up your WordPress site with free CDN delivery and automatic image optimization. Reduces load times and bandwidth costs.
    5  * Version: 2.4.1
     5 * Version: 2.5.0
    66 * Requires at least: 5.8
    77 * Requires PHP: 7.4
     
    2121// Define plugin constants.
    2222if (!defined('STATICDELIVR_VERSION')) {
    23     define('STATICDELIVR_VERSION', '2.4.1');
     23    define('STATICDELIVR_VERSION', '2.5.0');
    2424}
    2525if (!defined('STATICDELIVR_PLUGIN_FILE')) {
     
    7474    require_once $includes_path . 'class-staticdelivr-google-fonts.php';
    7575    require_once $includes_path . 'class-staticdelivr-fallback.php';
     76    require_once $includes_path . 'class-staticdelivr-devtools.php';
    7677    require_once $includes_path . 'class-staticdelivr-admin.php';
    7778    require_once $includes_path . 'class-staticdelivr.php';
Note: See TracChangeset for help on using the changeset viewer.