Easy Theme and Plugin Upgrades

Description

WordPress has a built-in feature to install themes and plugins by supplying a zip file. Unfortunately, you cannot upgrade a theme or plugin using the same process. Instead, WordPress will say “destination already exists” when trying to upgrade using a zip file and will fail to upgrade the theme or plugin.

Easy Theme and Plugin Upgrades fixes this limitation in WordPress by automatically upgrading the theme or plugin if it already exists.

While upgrading, a backup copy of the old theme or plugin is first created. This allows you to install the old version in case of problems with the new version.

Attention: Version 2.0.0 changed the functionality of the plugin. You are no longer required to select “Yes” from a drop down before the theme or plugin can be upgraded. The need for an upgrade is now detected automatically. So, if you are used to the old functionality of the plugin, do not be concerned about the absence of upgrade details on the theme and plugin upload pages. Simply upload the theme or plugin as if you were installing it, and the plugin will automatically handle upgrading as needed.

Installation

  1. Download and unzip the latest release zip file
  2. Upload the entire easy-theme-and-plugin-upgrades directory to your /wp-content/plugins/ directory
  3. Activate the plugin through the ‘Plugins’ menu in WordPress

FAQ

Why does the plugin no longer show the drop down to select “Yes”? Is the plugin broken?

Version 2.0.0 no longer requires that a drop down is used to indicate that an upgrade is to be performed. The plugin now can determine if an upgrade is required automatically. This change not only streamlines the process for many users, it also fixed compatibility issues that some users experienced with older versions.

How do I upgrade a theme?
  1. Download the latest zip file for your theme.
  2. Log into your WordPress site.
  3. Go to Appearance > Themes.
  4. Click the “Add New” button at the top of the page.
  5. Click the “Upload Theme” button at the top of the page.
  6. Select the zip file with the new theme version to install.
  7. Click the “Install Now” button.
How do I upgrade a plugin?
  1. Download the latest zip file for your plugin.
  2. Log into your WordPress site.
  3. Go to Plugins > Add New.
  4. Click the “Upload Plugin” button at the top of the page.
  5. Select the zip file with the new plugin version to install.
  6. Click the “Install Now” button.
How do I access the backup of an old theme or plugin?
  1. Log into your WordPress site.
  2. Go to Media > Library.
  3. Type “backup” into the search input and press the “Enter” key.
  4. Find the desired backup from the resulting list.
  5. Click the title of the desired backup.
  6. The URL to the backup file is listed on the right side of the page under “File URL”. You can copy and paste that URL into your browser’s URL bar in order to start a download.

Reviews

Wie gut dass es ein Backup macht

Hat mal so gar nicht funktioniert, meine Image-Galerie wurde komplett zerschossen – keine Übernahme der bestehenden Einstellungen. Einziger Lichtblick: Das Plugin hat ein Backup gemacht. Da bleibe ich lieber beim umständlichen, alten Weg – da erlebt man wenigstens keine bösen Überraschungen.
Nutzen = NULL

Really handy, saves using FTP!

A theme author recommended this plugin to me. I had no idea it was possible to update non-WordPress.org themes and plugins simply by installing the new version – I have previously wasted time doing this via FTP which takes much longer (especially with a slow internet connection). This plugin makes it quick, easy and you can do it from the Dashboard. Thanks!

Simple & time saver

The plugin is simple and save a lot of time when upgrading a theme or a plugin.
As mentioned earlier by a user, the setting of a destination backups folder it is a must, since this folder can be added to exclusion list on our favorite backup scripts.
For the moment for personal user, I did modify the code, line 133 in custom-plugin-upgrader.php for $zip_path. If not possible to add some settings for the plugin, maybe put if function exists in the private function caj_create_backup in future upgrades so one can use functions.php to override this function and set his own path.
Thank you, great work !

So useful and it works perfectly!

This is one of those plugins where I didn’t realize what I was missing until I used it the first time… now I’m wondering why I waited so long. Easy Theme and Plugin Upgrades is perfect in situations where you don’t have FTP access to someone’s site and you don’t feel like going through the hassle of, “Well do you know what FTP is? No? Okay follow these steps to find your details…”

With this plugin I was able to easily fix a problem on one person’s site where a plugin update seem to have died halfway through, causing the plugin to not be available in the plugin list, but you couldn’t upload a new version because the directory already existed. Easy Theme and Plugin Upgrades allowed me to upload a new version right over the top no problem.

Then immediately after I used it on another client’s site to easily update their theme without the need to switch themes, delete old theme, upload new version.

Well done, and thank you!

Read all 76 reviews

Contributors & Developers

“Easy Theme and Plugin Upgrades” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

2.0.0

  • Enhancement: Removed the requirement for the user to select “Yes” from the drop down in order to initiate an update. This new version does not change the appearance of the upload form. Instead, it automatically creates a backup and performs an upgrade if the supplied plugin or theme already exists.
  • Enhancement: If a zip backup file cannot be created, the old directory is renamed to a new name in order to still keep a backup.
  • Enhancement: Updated the code to use a better way of integrating the upgrade logic. This approach should greatly reduce the potential for conflicts with other code or site configurations.
  • Enhancement: The backup details now are found in the same format as the rest of the upgrade messages.

1.0.6

  • Bug Fix: Fixed updates not working with some formats of zip files. Thanks to the team at Kaira for helping solve this issue.

1.0.5

  • Compatibility Fix: Added support for PHP 7.

1.0.4

  • Enhancement: Updated instructions on how to upgrade themes.

1.0.3

  • Compatibility Fix: Added compatibility for theme upgrades in WordPress 3.9.

1.0.2

  • Bug Fix: Removed a stray <i> tag in the Install Plugins screen that caused problems with installing plugins on WPEngine sites.

1.0.1

  • Bug Fix: Fixed an issue with the “The site is being updated and will be back in a few minutes” message showing on the frontend of the site for a few minutes after an upgrade. This only happened on multisite networks.

1.0.0

  • Initial release version