Find older WordPress versions

Find older WordPress versions

This one-liner will help to find all WordPress installations running a specific version, where the current latest is 5.6

locate wp-includes/version.php | xargs grep "wp_version = " | grep -v " = '5-6'"

A more efficient shell script that will scan and create a list of all WordPress installations along with their version number can be found here.

Stefan Pejcic
Join the discussion

I enjoy constructive responses and professional comments to my posts, and invite anyone to comment or link to my site.