diff --git a/wp-includes/http.php b/wp-includes/http.php index 36922da60e..3356b97162 100644 --- a/wp-includes/http.php +++ b/wp-includes/http.php @@ -550,7 +550,7 @@ function wp_http_validate_url( $url ) { } else { $ip = gethostbyname( $host ); if ( $ip === $host ) { // Error condition for gethostbyname() - $ip = false; + return false; } } if ( $ip ) { diff --git a/wp-includes/version.php b/wp-includes/version.php index a4f93bdb27..8805c87052 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.3-beta3-46474'; +$wp_version = '5.3-beta3-46475'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.