mirror of
https://ghproxy.net/https://github.com/wp-cli/scaffold-package-command.git
synced 2025-10-04 05:10:07 +08:00
Use a later default minimum WP-CLI version
This commit is contained in:
parent
7cc0a8d93a
commit
54b8239e93
2 changed files with 2 additions and 2 deletions
|
@ -269,7 +269,7 @@ files include:
|
|||
|
||||
## Installing
|
||||
|
||||
Installing this package requires WP-CLI v0.23.0 or greater. Update to the latest stable release with `wp cli update`.
|
||||
Installing this package requires WP-CLI v1.3.0 or greater. Update to the latest stable release with `wp cli update`.
|
||||
|
||||
Once you've done so, you can install this package with:
|
||||
|
||||
|
|
|
@ -229,7 +229,7 @@ EOT;
|
|||
'package_short_name' => $bits[1],
|
||||
'package_name_border' => str_pad( '', strlen( $composer_obj['name'] ), '=' ),
|
||||
'package_description' => isset( $composer_obj['description'] ) ? $composer_obj['description'] : '',
|
||||
'required_wp_cli_version' => ! empty( $composer_obj['require']['wp-cli/wp-cli'] ) ? str_replace( array( '~', '^', '>=' ), 'v', $composer_obj['require']['wp-cli/wp-cli'] ) : 'v0.23.0',
|
||||
'required_wp_cli_version' => ! empty( $composer_obj['require']['wp-cli/wp-cli'] ) ? str_replace( array( '~', '^', '>=' ), 'v', $composer_obj['require']['wp-cli/wp-cli'] ) : 'v1.3.0',
|
||||
'shields' => '',
|
||||
'has_commands' => false,
|
||||
'wp_cli_update_to_instructions' => 'the latest stable release with `wp cli update`',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue