Created
December 18, 2022 23:05
-
-
Save razorfrog/a78bcb374c98ee61b92013ad37600208 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