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
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 |