Skip to content

Commit

Permalink
return after the check
Browse files Browse the repository at this point in the history
  • Loading branch information
jazzsequence committed Apr 3, 2024
1 parent 845c870 commit c6684c9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions features/steps/then.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 );
Expand Down

0 comments on commit c6684c9

Please sign in to comment.