Plugin Directory

Changeset 3471275


Ignore:
Timestamp:
02/27/2026 05:40:34 PM (5 weeks ago)
Author:
megawixtech
Message:

Hotfix for plugin deactivation glitch during updates.

Location:
mega-database-cleanup
Files:
6 added
2 edited

Legend:

Unmodified
Added
Removed
  • mega-database-cleanup/trunk/mega-db-cleanup.php

    r3469640 r3471275  
    33 * Plugin Name: Mega Database Cleanup
    44 * Description: The ultimate WordPress database optimization suite. Clean ACF orphans, empty meta, and junk data with a modern UI. Features automated scheduling and safe backups for a lightning-fast site.
    5  * Version: 1.1.0
     5 * Version: 1.1.1
    66 * Author: MegaWix Technologies
    77 * Author URI: https://megawix.com
     
    251251            plugin_dir_url(__FILE__) . 'assets/style.css',
    252252            array(),
    253             '1.1.0'
     253            '1.1.1'
    254254        );
    255255
     
    259259            plugin_dir_url(__FILE__) . 'assets/admin.js',
    260260            array('jquery'),
    261             '1.1.0',
     261            '1.1.1',
    262262            true
    263263        );
     
    10061006            $first_safe_id = $rows[0]->meta_id;
    10071007
    1008             $meta_ids = array_map(fn($r) => $r->meta_id, $rows);
     1008            $meta_ids = array_map(function($r){ return $r->meta_id; }, $rows);
    10091009            $latest5_safe = array_slice($meta_ids, -5);
    10101010
  • mega-database-cleanup/trunk/readme.txt

    r3469640 r3471275  
    66Tested up to: 6.9.1
    77Requires PHP: 7.4
    8 Stable tag: 1.1.0
     8Stable tag: 1.1.1
    99License: GPLv2 or later
    1010License URI: https://www.gnu.org/licenses/gpl-2.0.html
     
    156156
    157157== Changelog ==
     158
     159= 1.1.1 =
     160* Fixed: Critical PHP compatibility issue by replacing modern arrow functions with traditional anonymous functions, ensuring support for older server environments.
     161* Fixed: Resolved a glitch that caused plugin deactivation during the update process due to script execution timeouts on some servers.
     162* Improved: Better handling of plugin state during version transitions.
    158163
    159164= 1.1.0 =
     
    178183== Upgrade Notice ==
    179184
     185= 1.1.1 =
     186Critical hotfix that improves PHP compatibility and fixes a bug where the plugin would deactivate itself after an update. Recommended for all users.
     187
    180188= 1.1.0 = 
    181189Adds optional activation email popup, deactivation feedback popup, top-level sidebar menu, and admin bar link.
Note: See TracChangeset for help on using the changeset viewer.