Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Danny Froberg
Polylang Cli
Commits
90df0516
Unverified
Commit
90df0516
authored
Feb 15, 2018
by
Peter J. Herrel
Browse files
require wp-cli 1.5.0
parent
8d83d248
Changes
1
Hide whitespace changes
Inline
Side-by-side
command.php
View file @
90df0516
...
...
@@ -13,8 +13,8 @@ if ( defined( 'WP_CLI' ) && WP_CLI ) {
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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment