Coding Standards: Remove extra slashes when concatenating ABSPATH with a path.

Since `ABSPATH` is defined and documented to end with a forward slash `/`, this changeset removes the first `/` from strings appended to `ABSPATH` in various files, leading to `//` in the resulting path.

Follow-up to [54872], [55720], [57545].

Props dhruvik18, SergeyBiryukov.
Fixes #63102.
Built from https://develop.svn.wordpress.org/trunk@60034


git-svn-id: http://core.svn.wordpress.org/trunk@59370 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov
2025-03-17 22:40:26 +00:00
parent 15c1c54906
commit 53b38b0516
4 changed files with 7 additions and 7 deletions

View File

@@ -1886,7 +1886,7 @@ class WP_Site_Health {
);
if ( ! function_exists( 'WP_Filesystem' ) ) {
require_once ABSPATH . '/wp-admin/includes/file.php';
require_once ABSPATH . 'wp-admin/includes/file.php';
}
ob_start();