diff --git a/wp-includes/formatting.php b/wp-includes/formatting.php index 9bb1538d80..3d4d1f20c7 100644 --- a/wp-includes/formatting.php +++ b/wp-includes/formatting.php @@ -3694,7 +3694,8 @@ function _links_add_base($m) { return $m[1] . '=' . $m[2] . ( preg_match( '#^(\w{1,20}):#', $m[3], $protocol ) && in_array( $protocol[1], wp_allowed_protocols() ) ? $m[3] : - path_join( $_links_add_base, $m[3] ) ) + WP_HTTP::make_absolute_url( $m[3], $_links_add_base ) + ) . $m[2]; } diff --git a/wp-includes/version.php b/wp-includes/version.php index a4c22187f2..16e3eb03dd 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.1-beta2-30765'; +$wp_version = '4.1-beta2-30766'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.