Skip to content

Commit 5911717

Browse files
committed
Fix minor version constraint
1 parent b1f3131 commit 5911717

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utils/wp-version-resolver.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
$version_count = count( explode( '.', $wp_version_env ) );
4343

4444
if ( 1 === $version_count ) {
45-
$constraint = ">=$wp_version_env"; // Get the latest minor version.
45+
$constraint = "^$wp_version_env"; // Get the latest minor version.
4646
} elseif ( 2 === $version_count ) {
4747
$constraint = "~$wp_version_env.0"; // Get the latest patch version.
4848
} elseif ( 3 === $version_count ) {

0 commit comments

Comments
 (0)