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
This commit is contained in:
Jb Audras
2023-01-10 09:28:17 +00:00
parent 8f44c445e6
commit 5a32388a13
5 changed files with 7 additions and 7 deletions
+2 -2
View File
@@ -14,7 +14,7 @@
__ = wp.i18n.__;
/**
* This object contains all function to handle the behaviour of the post boxes. The post boxes are the boxes you see
* This object contains all function to handle the behavior of the post boxes. The post boxes are the boxes you see
* around the content on the edit page.
*
* @since 2.7.0
@@ -347,7 +347,7 @@
},
/**
* Initializes all the postboxes, mainly their sortable behaviour.
* Initializes all the postboxes, mainly their sortable behavior.
*
* @since 2.7.0
*
+1 -1
View File
@@ -59,7 +59,7 @@ window.addComment = ( function( window ) {
* @since 5.1.1
*/
function ready() {
// Initialise the events.
// Initialize the events.
init();
// Set up a MutationObserver to check for comments loaded late.
+2 -2
View File
@@ -11,7 +11,7 @@
var __ = wp.i18n.__;
/**
* Contains all the methods to initialise and control the image editor.
* Contains all the methods to initialize and control the image editor.
*
* @namespace imageEdit
*/
@@ -636,7 +636,7 @@
btn.removeClass( 'button-activated' );
spin.removeClass( 'is-active' );
} );
// Initialise the Image Editor now that everything is ready.
// Initialize the Image Editor now that everything is ready.
imageEdit.init( postid );
} );
+1 -1
View File
@@ -7,7 +7,7 @@
'use strict';
/**
* Initialise the WP_API.
* Initialize the WP_API.
*/
function WP_API() {
/** @namespace wp.api.models */