Skip to content

Commit 8473bbb

Browse files
committed
Fix conditional
1 parent 05b7c16 commit 8473bbb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

entity-command.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@
9898
'Ability_Command',
9999
array(
100100
'before_invoke' => function () {
101-
if ( Utils\wp_version_compare( '6.9', '<' ) ) {
101+
if ( Utils\wp_version_compare( '6.8', '<=' ) ) {
102102
WP_CLI::error( 'Requires WordPress 6.9 or greater.' );
103103
}
104104
},
@@ -109,7 +109,7 @@
109109
'Ability_Category_Command',
110110
array(
111111
'before_invoke' => function () {
112-
if ( Utils\wp_version_compare( '6.9', '<' ) ) {
112+
if ( Utils\wp_version_compare( '6.8', '<=' ) ) {
113113
WP_CLI::error( 'Requires WordPress 6.9 or greater.' );
114114
}
115115
},

0 commit comments

Comments
 (0)