How to upgrade your WordPress to specific version using wp-cli

To run updates for minor releases:

wp core update --minor

To perform update to specific version:

wp core update --version=3.1

wp core update --version=3.1 --force

Source: https://developer.wordpress.org/cli/commands/core/update/

Similar Posts:

Leave a Reply

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