Given that I can’t access the dashboard/admin pages on my blog (that’s a future question), and that I have shell access to my hosting server, can I find out the current version of WordPress from the command line?

I tried grepping for the string ‘@since’ in all the php files in the top level directory for the blog, and the latest I can see is 2.5…

6

Just run this grep command from the command line:

grep wp_version wp-includes/version.php

Leave a Reply

Your email address will not be published. Required fields are marked *