Skip to content

Commit 5a32388

Browse files
committed
Docs: Align spelling with American English.
This changeset updates the use of "-ise" suffix to American English "-ize" and replaces "behaviour" with "behavior" in various docblocks. Follow-up to [54663], [54664], [55043]. Props kebbet. See #56811, #56792. git-svn-id: https://develop.svn.wordpress.org/trunk@55044 602fd350-edb4-49c9-b593-d223f7449a82
1 parent 8f44c44 commit 5a32388

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

src/js/_enqueues/admin/postbox.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
__ = wp.i18n.__;
1515

1616
/**
17-
* This object contains all function to handle the behaviour of the post boxes. The post boxes are the boxes you see
17+
* This object contains all function to handle the behavior of the post boxes. The post boxes are the boxes you see
1818
* around the content on the edit page.
1919
*
2020
* @since 2.7.0
@@ -347,7 +347,7 @@
347347
},
348348

349349
/**
350-
* Initializes all the postboxes, mainly their sortable behaviour.
350+
* Initializes all the postboxes, mainly their sortable behavior.
351351
*
352352
* @since 2.7.0
353353
*

src/js/_enqueues/lib/comment-reply.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ window.addComment = ( function( window ) {
5959
* @since 5.1.1
6060
*/
6161
function ready() {
62-
// Initialise the events.
62+
// Initialize the events.
6363
init();
6464

6565
// Set up a MutationObserver to check for comments loaded late.

src/js/_enqueues/lib/image-edit.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
var __ = wp.i18n.__;
1212

1313
/**
14-
* Contains all the methods to initialise and control the image editor.
14+
* Contains all the methods to initialize and control the image editor.
1515
*
1616
* @namespace imageEdit
1717
*/
@@ -636,7 +636,7 @@
636636
btn.removeClass( 'button-activated' );
637637
spin.removeClass( 'is-active' );
638638
} );
639-
// Initialise the Image Editor now that everything is ready.
639+
// Initialize the Image Editor now that everything is ready.
640640
imageEdit.init( postid );
641641
} );
642642

src/js/_enqueues/wp/api.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
'use strict';
88

99
/**
10-
* Initialise the WP_API.
10+
* Initialize the WP_API.
1111
*/
1212
function WP_API() {
1313
/** @namespace wp.api.models */

src/wp-includes/pluggable.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1238,7 +1238,7 @@ function auth_redirect() {
12381238
* Ensures intent by verifying that a user was referred from another admin page with the correct security nonce.
12391239
*
12401240
* This function ensures the user intends to perform a given action, which helps protect against clickjacking style
1241-
* attacks. It verifies intent, not authorisation, therefore it does not verify the user's capabilities. This should
1241+
* attacks. It verifies intent, not authorization, therefore it does not verify the user's capabilities. This should
12421242
* be performed with `current_user_can()` or similar.
12431243
*
12441244
* If the nonce value is invalid, the function will exit with an "Are You Sure?" style message.

0 commit comments

Comments
 (0)