Last active
August 29, 2015 14:25
-
-
Save mcnemesis/b576833ab5a1c2706901 to your computer and use it in GitHub Desktop.
This is how to upgrade your WordPress site, its plugins and themes automatically via a shell, using wp-cli
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#requires: wp-cli installed | |
# run all the following commands inside your wordpress root directory | |
wp core update #updates wp itself | |
wp plugin update --all #update all plugins | |
wp theme update -all #update all themes |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment