Quick WP upgrading with WPCLI


Quick WP upgrading with WPCLI

This is the easiest way to upgrade WordPress. You’ll execute these commands on the server itself.

Requirements

  • ssh access to your server
  • wp-cli command installed (instructions for installing wp-cli at http://wp-cli.org/)

Install/Upgrade WP CLI

  • wp-cli should be upgraded each time a WordPress installation is upgraded.

Upgrade WP

Prep work

Change into the WP directory

Make a list of active plugins

Update all plugins

Deactivate all of the plugins

Upgrade WordPress

Reactivate all of the previously active plugins.

Check the site in various browsers (make sure cache has been cleared).

Share and Enjoy:
  • Print
  • PDF
  • RSS

Related Posts: