Forked from razorfrog/gist:a78bcb374c98ee61b92013ad37600208
Created
December 19, 2022 02:22
-
-
Save robi09/8b65d699f73bf3cd84e4808481a00c19 to your computer and use it in GitHub Desktop.
gp doctor for all sites
This file contains 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
for wpconfig in /var/www/*/wp-config.php; do \ | |
echo; site=${wpconfig%\/wp-config.php}; site=${site#\/var\/www\/}; \ | |
gp wp $site doctor check --all | |
echo | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment