diff --git a/src/Plugin_Command.php b/src/Plugin_Command.php index ef5b061f..8a59f71d 100644 --- a/src/Plugin_Command.php +++ b/src/Plugin_Command.php @@ -631,7 +631,7 @@ protected function install_from_repo( $slug, $assoc_args ) { } if ( ! $compatible_php ) { - return new WP_Error( 'requirements_not_met', "This plugin does not work with your version of PHP. Minimum PHP required is $compatible_php" ); + return new WP_Error( 'requirements_not_met', "This plugin does not work with your version of PHP. Minimum PHP required is $requires_php" ); } }