Make WordPress Core


Ignore:
Timestamp:
10/21/2022 09:49:49 PM (16 months ago)
Author:
audrasjb
Message:

Docs: Align spelling with American English.

This changeset replaces "cancelled" with "canceled" in various docblocks, per the Spelling Guidelines.

Props costdev.
See #56811, #56792.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/pluggable.php

    r54529 r54664  
    13621362     * @param int    $status        Optional. HTTP response status code to use. Default '302' (Moved Temporarily).
    13631363     * @param string $x_redirect_by Optional. The application doing the redirect. Default 'WordPress'.
    1364      * @return bool False if the redirect was cancelled, true otherwise.
     1364     * @return bool False if the redirect was canceled, true otherwise.
    13651365     */
    13661366    function wp_redirect( $location, $status = 302, $x_redirect_by = 'WordPress' ) {
     
    15051505     * @param int    $status        Optional. HTTP response status code to use. Default '302' (Moved Temporarily).
    15061506     * @param string $x_redirect_by Optional. The application doing the redirect. Default 'WordPress'.
    1507      * @return bool False if the redirect was cancelled, true otherwise.
     1507     * @return bool False if the redirect was canceled, true otherwise.
    15081508     */
    15091509    function wp_safe_redirect( $location, $status = 302, $x_redirect_by = 'WordPress' ) {
Note: See TracChangeset for help on using the changeset viewer.