WP Rollback Pro 1.2.1 Release Notes
Version 1.2.1 of WP Rollback Pro is now available. This release focuses on stability improvements, fixing a critical issue that affected certain server configurations, and addressing several usability issues with data sorting.
Main Fix: Server Compatibility
The most important fix in this release addresses a fatal error that occurred on servers without the PHP ZipArchive extension. Note: most servers have ZipArchive.
But… if not: when WP Rollback Pro attempted to create backups during plugin or theme updates, it would fail with a “Class ZipArchive not found” error. This had the unfortunate side effect of leaving sites in maintenance mode when other plugins were updated. ????
The plugin now checks for ZipArchive availability before attempting to use it. If the extension isn’t available, the backup process gracefully falls back to WordPress Core’s PclZip library instead. This ensures that plugin and theme updates continue working regardless of your server’s PHP configuration.
Additionally, the error handling throughout the backup system has been improved to catch both PHP Exceptions and Errors, preventing any scenario where the backup process could interrupt normal plugin or theme updates.
DataView Sorting Improvements
Several users reported that clicking column headers to sort data in the plugin/theme lists and Activity Log pages had no effect. This release fixes sorting across all DataView components:
- Plugin and Theme Lists: Version and Status columns now sort correctly
- Activity Log: All columns now respond to sort actions as expected
- Archives Page: Sorting now works properly for all columns
The fix involved adding proper getValue functions to field configurations so the DataView component knows what values to use for sorting, along with implementing WordPress’s filterSortAndPaginate utility for client-side data processing.
Code Quality Improvements
Behind the scenes, we’ve refactored the DataView components to reduce code duplication and improve maintainability:
- Created reusable hooks (
useEntityRecords,useServerSideDataView) that handle common data fetching patterns - Extracted shared field configurations and utilities
- Fixed React memoization issues that were causing unnecessary re-renders
These changes don’t add new functionality, but they make the codebase easier to maintain and slightly improve performance.
Dependency Cleanup
We’ve replaced our usage of the stellarwp/admin-notices package with a native WordPress implementation. This reduces external dependencies and gives us better control over admin notice behavior. The new AdminNotices service in SharedCore provides the same functionality using WordPress’s built-in notice system.
Summary
Version 1.2.1 is primarily a maintenance release that fixes two notable issues:
- A fatal error on servers without ZipArchive that prevented plugin/theme updates
- Non-functional sorting in data tables throughout the admin interface
If you experienced either of these issues, this update should resolve them. If you haven’t encountered any problems, this release ensures you won’t in the future and includes some performance optimizations.
As always, we recommend testing updates on a staging environment first.
Update Available: WP Rollback Pro 1.2.1 is available through your WordPress dashboard. Visit the Plugins page to update.
Documentation: Visit docs.wprollback.com for detailed documentation.
Support: Pro users can submit support requests at wprollback.com/support.