Last active
August 25, 2020 17:44
-
-
Save neverything/97ea92d34507c667012d0b35d78d322f to your computer and use it in GitHub Desktop.
Find installed WordPress on cPanel servers using SSH and the command line. https://silvanhagen.com/find-old-wordpress-installs/
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
# Change the path below according to your hosting | |
# - Add a cron job to get an email every week :) | |
find /home/*/public_html/ -type f -iwholename "*/wp-includes/version.php" -exec grep -H "\$wp_version =" {} \; | |
# Empty lines to make it easy to copy |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment