Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
WordPress rutine SH to update all Local WordPress
for d in * ; do
#if [ -e "$d/wp-config.php" ]; then
cd "$d"
echo "-----------------------------"
echo "Updating WordPress in... $d"
wp core update
wp theme update genesis
wp plugin update --all
wp transient delete-all
wp core language update
wp language plugin update --all
wp plugin install simply-show-hooks --activate
wp plugin install --activate
wp plugin install --activate
cd ..
# echo "$d is not a WordPress folder."
display notification "Actualizados WordPress Local a última versión" with title "Actualización WordPress"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.