/getwpversion

Get the version of WP installs on your system.

Primary LanguagePHPGNU General Public License v3.0GPL-3.0

getwpversion

Get the version of WordPress installs recursively in a given directory on your system.

I suppose this could be useful for seeing what shit is laying around on your servers, or for planning a widescale migration from an older version.

Requirements

  • php >= 5.6
  • knowledge of a command line, be it linux, OS X or windows
  • the need/desire to use this

Usage

From the command prompt of your favorite operating system:

  • $> php getwpversion.php /path/to/www/folder

Credits

colors.php -- JR @ if-not-true-then-false