I have a strange issue. Trying to update core wp version from 4.7 to 4.7.2 but wp keeps saying I am already up to date. But when I run

wp core version

Then I see 4.7 and not 4.7.2

Any ideas on how to troubleshoot ?

1 Answer
1

What is inside your version.php file?

File: /wp-includes/version.php
1: <?php
2: /**
3:  * The WordPress version string
4:  *
5:  * @global string $wp_version
6:  */
7: $wp_version = '4.7.1';

You can play with that number and test.


You can try to install the latest version of WP Cli and test.
You may update to WP-CLI version: 1.1.0 if the older version had problems. (I found out you used the 1.0 version of WP-CLI before).

Leave a Reply

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