Skip to content

Commit

Permalink
Merge pull request diggy#70 from diggy/update-wp-cli-req-version
Browse files Browse the repository at this point in the history
update wp-cli req version
  • Loading branch information
diggy authored Jun 10, 2017
2 parents 461231a + d3dca9a commit 7571523
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.0.0', '<' ) ) {
WP_CLI::error( sprintf( 'This WP-CLI package requires WP-CLI version %s or higher. Please visit %s', '1.0.0', 'https://wp-cli.org/#updating' ) );
if ( version_compare( WP_CLI_VERSION, '1.2.1', '<' ) ) {
WP_CLI::error( sprintf( 'This WP-CLI package requires WP-CLI version %s or higher. Please visit %s', '1.2.1', 'https://wp-cli.org/#updating' ) );
}

# api, cli
Expand Down

0 comments on commit 7571523

Please sign in to comment.