Make WordPress Core

Changeset 55044


Ignore:
Timestamp:
01/10/2023 09:28:17 AM (15 months ago)
Author:
audrasjb
Message:

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.

Location:
trunk/src
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/js/_enqueues/admin/postbox.js

    r50420 r55044  
    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     *
     
    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
  • trunk/src/js/_enqueues/lib/comment-reply.js

    r49187 r55044  
    6060     */
    6161    function ready() {
    62         // Initialise the events.
     62        // Initialize the events.
    6363        init();
    6464
  • trunk/src/js/_enqueues/lib/image-edit.js

    r51907 r55044  
    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
     
    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        } );
  • trunk/src/js/_enqueues/wp/api.js

    r49390 r55044  
    88
    99    /**
    10      * Initialise the WP_API.
     10     * Initialize the WP_API.
    1111     */
    1212    function WP_API() {
  • trunk/src/wp-includes/pluggable.php

    r55030 r55044  
    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     *
Note: See TracChangeset for help on using the changeset viewer.