Enhanced Autoload Manager

Changelog

1.6.5

  • Fixed: Fatal error (“strlen(): Argument #1 must be of type string, array given”) on sites whose object cache returns array values in the options cache. Option values are now always handled as strings, so the size column and value preview can’t crash.
  • Fixed: Options that were “disabled” in an older version but whose autoload flag never actually changed are now automatically corrected on the next admin visit (one-time, locked options excluded), so the database matches what the plugin shows.

1.6.4

  • Fixed: Disable/Enable now actually change the autoload flag. They previously re-saved the option with its unchanged value, which WordPress short-circuits before applying the autoload change — so “disabled” options kept autoloading. Now uses the dedicated autoload setter.
  • Fixed: Bulk actions now respect locked options (they are skipped, matching the per-row buttons) and no longer leave orphaned lock entries.
  • Improved: The plugin’s own lock storage is no longer autoloaded, so locking large options can’t bloat the autoload footprint.
  • Fixed: Locking is now reliable on WordPress 6.6+. Locks compared the raw autoload column (‘yes’/’no’), but modern WordPress uses ‘on’/’off’/’auto-on’/’auto-off’/’auto’ and normalizes values on save — so locked options were being “restored” on every page load with repeated notices. Locks now track the autoload state semantically.
  • Fixed: Locked options are now restored immediately after a plugin/theme/WordPress update (the once-per-request guard previously skipped the post-update restore).
  • Fixed: Locked option values are now compared in an object/array-safe way, so complex values no longer trigger false restores.
  • Fixed: Disabled options no longer disappear from the list — they now stay visible (with an Enable button) and the Disabled tab works again
  • Fixed: Removed an N+1 database query in total-size calculation (one query per option on every load/refresh); total autoload size is now computed from the already-loaded options
  • Fixed: Prevented a fatal “division by zero” when an invalid items-per-page value was passed in the URL
  • Security: Added explicit capability checks to all delete/disable/enable/lock actions (in addition to existing nonce checks)
  • Fixed: Corrected the object cache group when clearing the alloptions cache after an action
  • Compatibility: Tested up to WordPress 7.0; verified clean on PHP 8.5 and against real WP 6.8 (Plugin Check passes with no errors)
  • Maintenance: Replaced deprecated date()/current_time(‘timestamp’) calls; removed a redundant option write

1.6.3

  • CRITICAL FIX: Locking feature now reliably prevents automatic modifications from WordPress/plugin updates
  • Fixed: Locked options now preserve BOTH autoload flag AND option value (not just flag)
  • Fixed: Restore hooks now run on init, admin_init, updated_option, and upgrader_process_complete
  • Fixed: Real-time protection against option value changes via updated_option hook
  • Fixed: UI now hides Disable/Delete buttons for locked options to prevent user confusion
  • Fixed: Deleted options are now properly removed from lock list
  • Added: Admin notices when locked options are automatically restored
  • Added: Automatic upgrade of old lock data format (string) to new format (array with value + timestamp)
  • Added: Debug logging when WP_DEBUG is enabled for lock violations
  • Added: Helpful tooltip “(Unlock to modify)” for locked options
  • Improved: Lock data now includes autoload flag, full option value, and locked_at timestamp
  • Improved: Prevents multiple restore executions in same request for better performance

1.5.3

  • Fixed Plugin Check compliance issues
  • Improved input sanitization and security
  • Enhanced footer styling and responsive design
  • Added proper WordPress.org submission headers
  • Fixed duplicate dismiss buttons in warning notices

1.5.2

  • Added modern gradient warning design with persistent dismissal
  • Improved search bar placement and layout
  • Enhanced CSS scoping to prevent WordPress admin conflicts
  • Added activation and deactivation hooks
  • Fixed AJAX handler naming consistency

1.4

  • Added search functionality to find specific autoload options
  • Implemented pagination for easier navigation through large datasets
  • Added confirmation dialogs before deleting or disabling options
  • Added export and import functionality for autoload settings
  • Added refresh button to update autoload data without page reload
  • Improved cache handling for better performance
  • Added support for mobile devices with responsive design
  • Fixed version inconsistencies across plugin files

1.3

  • Added WordPress Nonce for extra layer of security

1.2

  • Added total autoload size display
  • Enhanced the user interface for modern and aesthetic look
  • Improved display of data sizes in KB and MB

1.1

  • First functional release with basic features

Plugin Website
Visit website

Author
Rai Ansar
Version:
1.6.5
Last Updated
June 29, 2026
Active Installs
500
Requires
WordPress 5.0
Tested Up To
WordPress 7.0
Requires PHP
7.4

Share Post

Join our newsletter.

Get insights into what’s happening at ChangelogWP right in your inbox. We don’t believe in spam.