mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-22 09:07:59 +01:00
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. Built from https://develop.svn.wordpress.org/trunk@55044 git-svn-id: http://core.svn.wordpress.org/trunk@54577 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
693b507de7
commit
b6760ea0ce
@ -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 );
|
||||
} );
|
||||
|
||||
|
@ -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
|
||||
*
|
||||
|
@ -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.
|
||||
|
@ -7,7 +7,7 @@
|
||||
'use strict';
|
||||
|
||||
/**
|
||||
* Initialise the WP_API.
|
||||
* Initialize the WP_API.
|
||||
*/
|
||||
function WP_API() {
|
||||
/** @namespace wp.api.models */
|
||||
|
@ -1238,7 +1238,7 @@ if ( ! function_exists( 'check_admin_referer' ) ) :
|
||||
* Ensures intent by verifying that a user was referred from another admin page with the correct security nonce.
|
||||
*
|
||||
* This function ensures the user intends to perform a given action, which helps protect against clickjacking style
|
||||
* attacks. It verifies intent, not authorisation, therefore it does not verify the user's capabilities. This should
|
||||
* attacks. It verifies intent, not authorization, therefore it does not verify the user's capabilities. This should
|
||||
* be performed with `current_user_can()` or similar.
|
||||
*
|
||||
* If the nonce value is invalid, the function will exit with an "Are You Sure?" style message.
|
||||
|
@ -16,7 +16,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '6.2-alpha-55043';
|
||||
$wp_version = '6.2-alpha-55044';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
Loading…
Reference in New Issue
Block a user