Plug-in Review 3

Rollback Update Failure
What does it do? Feature plugin to test plugin/theme update failures and rollback to previous installed packages

Details: When updating a plugin/theme, the old version of the plugin/theme gets moved to a wp-content/upgrade/temp-backup/plugins/PLUGINNAME or wp-content/upgrade/temp-backup/themes/THEMENAME folder. The reason we chose to move instead of zip, is because zipping/unzipping are very resources-intensive processes, and would increase the risk on low-end, shared hosts. Moving on the other hand is performed instantly and won’t be a bottleneck.
If the update fails, then the “backup” we kept in the upgrade/temp-backup folder gets restored to its original location
If the update succeeds, then the “backup” is deleted
2 new checks were added in the site-health screen:
Check to make sure that the rollbacks folder is writable.
Check there is enough disk-space available to safely perform updates.

Positive Reviews:
“Wow”

That is great! I have just one question! How many times this plugin could roll back a theme or a plugin update, can it roll back for example three steps back? Thank you for your answer in advance!

No Negative Reviews