From c6684c988718122471c2f19fe7154a35f43cc753 Mon Sep 17 00:00:00 2001 From: Chris Reynolds Date: Wed, 3 Apr 2024 10:48:29 -0600 Subject: [PATCH] return after the check --- features/steps/then.php | 1 + 1 file changed, 1 insertion(+) diff --git a/features/steps/then.php b/features/steps/then.php index 4136189..4c79783 100644 --- a/features/steps/then.php +++ b/features/steps/then.php @@ -17,6 +17,7 @@ function ( $world, $stream, $action, PyStringNode $expected ) { // Conditional handling of WP version check. if (isset($world->isLatestWPVersion) && $world->isLatestWPVersion) { checkString( $world->result->$stream, 'WordPress is at the latest version.', $action, $world->result ); + return; } $stream = strtolower( $stream );