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

@@ -849,7 +849,7 @@ class WP_REST_Server {
*/
$endpoints = apply_filters( 'rest_endpoints', $endpoints );
// Normalise the endpoints.
// Normalize the endpoints.
$defaults = array(
'methods' => '',
'accept_json' => false,