Docs: Update spelling for inline comments in a few files.

Per the [https://make.wordpress.org/core/handbook/best-practices/spelling/ spelling] and [https://make.wordpress.org/docs/style-guide/language-grammar/word-choice/ word choice] documentation guidelines, American (US) spelling should be preferred.

Props mohadeseghasemi, subrataemfluence, rehanali, SergeyBiryukov.
Fixes #46837.

git-svn-id: https://develop.svn.wordpress.org/trunk@52640 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov
2022-01-25 13:54:01 +00:00
parent f745cc551b
commit 2d707c4512
10 changed files with 14 additions and 11 deletions

View File

@@ -2140,7 +2140,7 @@ function wp_normalize_path( $path ) {
$wrapper .= '://';
}
// Standardise all paths to use '/'.
// Standardize all paths to use '/'.
$path = str_replace( '\\', '/', $path );
// Replace multiple slashes down to a singular, allowing for network shares having two slashes.