New WP-CLI Scheduled For April 24th Release

WP-CLI

WP-CLI v2.2.0 is scheduled to be released for Wednesday, April 24th, 2019.

WP-CLI is a set of command-line tools for managing WordPress installations.

You can update plugins, set up multisite installs and much more, without using a web browser.

The maintainers said that they have a list of already accepted features that are just waiting for some adventurous soul to implement them and a list of known bugs that need to be turned into non-bugs.

And as WordPress bumps the minimum PHP version requirement to 5.6 and MySQL version requirement to be 5.5, WP-CLI says it “staying as low as possible” with its own PHP minimum requirement,.

According to the team, they are adopting this approach as to not to randomly break support for people stuck on lower PHP versions.

The delay is meant to allow site owners still using WP-CLI to migrate their old sites over to newer servers.

If you choose to remain on 5.5 or below, you may still receive security updates and possibly bug fixes, but would not be able to upgrade to the latest major WordPress version until you upgraded to a supported version of PHP.

At Web Hosting Magic, we offer PHP 7.2 and 7.3 as default though customers wishing to use old PHP versions can do that using our HardenedPHP.

To update WP-CLI, run:

wp cli update or sudo wp cli update

When you run wp cli update, you’ll be prompted to confirm that you wish to update with a message similar to the following:

You have version 0.21.1. Would you like to update to 0.23.1? [y/n]

After you accept, you should see a success message:

Success: Updated WP-CLI to 0.23.1

If you’re already running the latest version of WP-CLI, you’ll see this message:

WP-CLI is at the latest version.

For more information about wp cli update, including flags and options that can be used, read the full docs page on the update command.


Posted

in

by

Tags:

Comments

Leave a Reply