I’m running a local dev instance of WP on my MacBookPro (WP 4.6.1 and WP-CLI 0.24.1).
Can anyone explain why I might see a list of 5 or 6 plugins that have available updates when I go to Admin’s update page (/wp-admin/update-core.php?force-check=1) but when I run wp-cli from the command line (wp plugin update –all –dry-run) it tells me ‘No updates available’? Are they using different mechanisms to check?
To be clear, there are times when they agree but it seems most times they disagree. And to add to the confusion, it almost seems like wp-cli interferes in some way: I can have a list of updates showing in Admin, I use wp-cli to verify I get the same results but it tells me there are none, I go back to the Admin and refresh and now there are none in that list either. If I wait some TBD amount of time, I can get the list to show again in the Admin.
I’m still trying to sort out if there’s a predictable set of steps for the above but is this expected behavior?