🔥 HOT: Changeset/ - Full Archive

Changeset 3263433


Ignore:
Timestamp:
03/28/2025 10:32:23 AM (9 months ago)
Author:
aguidrevitch
Message:

🔧 Maintenance Update
Release Date: January 28, 2025
🛠️ Fixes & Improvements

  • PHP 8.4 Compatibility: Enhanced compatibility to ensure smooth performance with the latest PHP version.
  • Exclusion Fixes: Resolved minor issues with exclusions for a more reliable optimization process.
  • UI Fixes: Made small UI adjustments for a cleaner and more intuitive experience.
Location:
fastpixel-website-accelerator/trunk
Files:
2 added
17 edited

Legend:

Unmodified
Added
Removed
  • fastpixel-website-accelerator/trunk/fastpixel.php

    r3255528 r3263433  
    55 * Description: Faster WordPress Made Easy – Solve all your website speed problems effortlessly with just a few clicks.
    66 * Author:      ShortPixel
    7  * Version:     1.0.44
     7 * Version:     1.0.45
    88 * Text Domain: fastpixel-website-accelerator
    99 * Domain Path: /languages
     
    2121defined('ABSPATH') || exit;
    2222
    23 define('FASTPIXEL_VERSION', '1.0.44');
     23define('FASTPIXEL_VERSION', '1.0.45');
    2424define('FASTPIXEL_NAME', 'FastPixel');
    2525if (!defined('FASTPIXEL_PLUGIN_DIR'))
  • fastpixel-website-accelerator/trunk/inc/backend/assets/backend.js

    r3251166 r3263433  
    2626    function fastpixelOnOptimizationChange(disable = true) {
    2727        if (disable) {
    28             jQuery('[data-depends-on="fastpixel-javascript-optimization"]').attr('disabled', 'disabled');
    29         } else {
    30             jQuery('[data-depends-on="fastpixel-javascript-optimization"]').removeAttr('disabled');
     28            jQuery('[data-depends-on="fastpixel-javascript-optimization"]').attr('readonly', 'readonly');
     29        } else {
     30            jQuery('[data-depends-on="fastpixel-javascript-optimization"]').removeAttr('readonly');
    3131        }
    3232    }
    3333
    3434    //adding custom event to have ability to trigger it programmatically and avoid loop triggering
    35     jQuery('#fastpixel_javascript_optimization').on('fastpixelChange', function () {
    36         const value = jQuery(this).val(); const disable = value == 3 ? true : false; fastpixelOnOptimizationChange(disable);
    37     });
    38     jQuery('#fastpixel_javascript_optimization').on('change', function () {
     35    jQuery('input[name="fastpixel_javascript_optimization"]').on('fastpixelChange', function () {
     36        const checked = jQuery(this).prop('checked');
     37        if (checked) {
     38            const value = jQuery(this).val();
     39            const disable = (parseInt(value) == 2 ? false : true);
     40            fastpixelOnOptimizationChange(disable);
     41        }
     42    });
     43    jQuery('input[name="fastpixel_javascript_optimization"]').on('change', function () {
    3944        jQuery(this).trigger('fastpixelChange');
    4045    });
  • fastpixel-website-accelerator/trunk/inc/backend/controllers/cache.php

    r3255528 r3263433  
    1313        protected $config;
    1414        protected $time_to_wait = 5; //need this option to avoid multiple page cache requests
    15         protected $serve_stale;
     15        protected $serve_stale = false;
    1616        protected $be_functions;
    1717        protected $purged_objects_cache = false;
     18        protected $run_purge_for_custom_urls = false;
    1819
    1920        public function __construct()