Skip to content

Commit c04fd25

Browse files
authored
Merge pull request #489 from wp-cli/fix/requires-php
2 parents fea9a1a + 1030e19 commit c04fd25

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Plugin_Command.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -631,7 +631,7 @@ protected function install_from_repo( $slug, $assoc_args ) {
631631
}
632632

633633
if ( ! $compatible_php ) {
634-
return new WP_Error( 'requirements_not_met', "This plugin does not work with your version of PHP. Minimum PHP required is $compatible_php" );
634+
return new WP_Error( 'requirements_not_met', "This plugin does not work with your version of PHP. Minimum PHP required is $requires_php" );
635635
}
636636
}
637637

0 commit comments

Comments
 (0)