Skip to content

Instantly share code, notes, and snippets.

@danielhomer
Last active March 23, 2016 07:42
Show Gist options
  • Save danielhomer/2f7a7f204b38e96d0332 to your computer and use it in GitHub Desktop.
Save danielhomer/2f7a7f204b38e96d0332 to your computer and use it in GitHub Desktop.
cd /path/to/root
for url in $(wp site list --field=domain)
do
echo ${url}
wp --url=${url} option update db_version 30133
echo
done
wp --url=${url} core update-db --network
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment