anttiviljami/wp-safe-updates

This package is abandoned and no longer maintained. No replacement package was suggested.

Test WordPress plugin updates safely before applying them on the live site.

Installs: 33

Dependents: 0

Suggesters: 0

Security: 0

Stars: 61

Watchers: 7

Forks: 4

Open Issues: 9

Type:wordpress-plugin

1.2.1 2017-08-03 20:18 UTC

This package is auto-updated.

Last update: 2020-04-27 05:28:23 UTC


README

Build Status Latest Stable Version Total Downloads Latest Unstable Version License

Test WordPress plugin updates safely before applying them on the live site.

Core trac ticket discussion: #37301

Disclaimer

Please make sure to always have backups of all your WordPress files and database before updating plugins or themes. We are not responsible for any misuse, deletions, white screens, fatal errors, or any other issue arising from using this plugin.

How does it work?

This plugin adds a "test update" button when plugin updates are available. Clicking it will trigger the creation of a sandbox where you can safely test updating plugins without affecting the live site. Once finished testing the plugin, you can go back to the live site and do the real updates if all is well.

The sandbox works similarly to how WordPress multisite works. We basically tell WordPress to temporarily use a different database prefix and a different plugins directory while in the sandbox, which means while you test the update, no changes are made to the live site.

Screenshots

The 'test update' button when an update is available for a plugin

Test update link

Updating the plugin safely in an alternative heap

Updating a plugin

Testing the updated plugin

Testing the update

Installation

The Composer Way (preferred)

Install the plugin via Composer

composer require anttiviljami/wp-safe-updates

Activate the plugin

wp plugin activate wp-safe-updates

The Old Fashioned Way

This plugin is available on the official WordPress.org plugin directory.

You can also install the plugin by directly uploading the zip file as instructed below:

  1. Download the plugin
  2. Upload to the plugin to /wp-content/plugins/ via the WordPress plugin uploader or your preferred method
  3. Activate the plugin