diff --git a/wp-includes/formatting.php b/wp-includes/formatting.php index 51947283bd..3208abec92 100644 --- a/wp-includes/formatting.php +++ b/wp-includes/formatting.php @@ -3621,7 +3621,7 @@ function tag_escape( $tag_name ) { * @return string Absolute path. */ function wp_make_link_relative( $link ) { - return preg_replace( '|^(https?:)?//[^/]+(/.*)|i', '$2', $link ); + return preg_replace( '|^(https?:)?//[^/]+(/?.*)|i', '$2', $link ); } /** diff --git a/wp-includes/version.php b/wp-includes/version.php index 73dab040b3..27d36ae4d4 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.4-beta2-35496'; +$wp_version = '4.4-beta2-35497'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.