Skip to content

Commit 9f7794e

Browse files
committed
Make sure the "1.2.0-alpha" version is indeed accepted.
1 parent d826a69 commit 9f7794e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scaffold-package-command.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
};
1717

1818
// Only use command hooks in versions that support them.
19-
if ( version_compare( WP_CLI_VERSION, '1.2.0-alpha', '>' ) ) {
19+
if ( version_compare( WP_CLI_VERSION, '1.2.0-alpha', '>=' ) ) {
2020
WP_CLI::add_hook( 'after_add_command:scaffold', $registration );
2121
} else {
2222
$registration();

0 commit comments

Comments
 (0)