github retlehs/kinsta-mu-plugins 3.5.0
v3.5.0

15 hours ago

v3.5.0

What's Changed

Enhancements

  • Improved Autopurge Status Detection - The autopurge status method now uses the is_autopurge_enabled() helper function for more reliable status detection, ensuring consistent return values (enabled/disabled)
  • Refactored Theme Controller - The WPThemeController class has been improved with:
    • Better code organization by extracting the inline upgrader handler to a dedicated method
    • Enhanced type safety and parameter validation using wp_parse_args()
    • More defensive checks for array structure and data types
    • Changed from final to extendable class for better flexibility

Compatibility

  • PHP 8.5 Compatibility - Added conditional logic to avoid calling the deprecated curl_close() function in PHP 8.5+, ensuring forward compatibility with upcoming PHP versions

Modified Components:

  • kinsta-mu-plugins/app/Cache/Autopurge.php
  • kinsta-mu-plugins/app/Cache/Autopurge/WPThemeController.php
  • kinsta-mu-plugins/app/Commands/Cache/AutopurgeCommand.php
  • kinsta-mu-plugins/cache/class-cache-purge.php
  • Translation files and version metadata

Full Changelog: 3.4.0...3.5.0


https://kinsta.com/changelog/mu-plugin-changelog/

Don't miss a new kinsta-mu-plugins release

NewReleases is sending notifications on new releases.