diff --git a/wp-includes/functions.php b/wp-includes/functions.php index b73e97a932..4ecad8e808 100644 --- a/wp-includes/functions.php +++ b/wp-includes/functions.php @@ -2132,7 +2132,7 @@ function path_join( $base, $path ) { return $path; } - return rtrim( $base, '/' ) . '/' . ltrim( $path, '/' ); + return rtrim( $base, '/' ) . '/' . $path; } /** diff --git a/wp-includes/version.php b/wp-includes/version.php index 8b7553eccd..75fc5a3749 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.1-alpha-53459'; +$wp_version = '6.1-alpha-53460'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.