The WPFolks app is out on iPhone and Android. Free, no ads. Download on the App Store Get it on Google Play
Skip to main content
Login Join
Snippet · Bash / Shell

Update WordPress Core

Shared by Mukesh Gujjar · July 26, 2026

34 views
Back to Snippets
#!/bin/bash

echo "Updating WordPress Core..."

wp core update

wp core update-db

echo "Done!"
Know a different way to do this? Add your approach as a variation so folks can compare them side by side.
Submit a variation

0 comments

Proudly supported by