Updating WordPress can really start to grind on me. Everyone is constantly releasing updates for their plugins and the core team are pushing to release more and more core updates all the time.
Seeing the update notification can be a real bummer.
So, to keep it easy, I just bang through all updates using a few WP CLI commands strung together into this nice one-liner;
This will go through and update all themes, plugins, and the WordPress core along with language updates for each. Yay!
I don’t actually use the whole command myself because typing that out each time would suck. Instead, I’ve set up an alias in my ~/.bashrc
file to keep it easy. It looks like this;
With the alias in place, all I need to do is enter wp-update-all
and hit the return key…then wait, of course.