Skip to content

Commit

Permalink
require wp-cli 1.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
diggy committed Feb 15, 2018
1 parent 8d83d24 commit 90df051
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions command.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
WP_CLI::error( sprintf( 'This WP-CLI package requires PHP version %s or higher.', '5.5' ) );
}

if ( version_compare( WP_CLI_VERSION, '1.4.0', '<' ) ) {
WP_CLI::error( sprintf( 'This WP-CLI package requires WP-CLI version %s or higher. Please visit %s', '1.4.0', 'https://wp-cli.org/#updating' ) );
if ( version_compare( WP_CLI_VERSION, '1.5.0', '<' ) ) {
WP_CLI::error( sprintf( 'This WP-CLI package requires WP-CLI version %s or higher. Please visit %s', '1.5.0', 'https://wp-cli.org/#updating' ) );
}

# api, cli
Expand Down

0 comments on commit 90df051

Please sign in to comment.