wp cache flush

This commit is contained in:
myvesta 2020-05-07 18:08:31 +02:00 committed by GitHub
commit e3c1d0f49e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -339,6 +339,7 @@ if [ $IT_IS_WP -eq 0 ]; then
else
cd $TO_FOLDER
sudo -H -u$TO_USER wp search-replace "$FROM_DOMAIN" "$TO_DOMAIN" --precise --all-tables --skip-columns=guid
sudo -H -u$TO_USER wp cache flush
fi
echo "===== DONE ===="