Make WordPress Core


Ignore:
Timestamp:
10/21/2022 09:10:29 PM (2 years ago)
Author:
audrasjb
Message:

Docs: Align spelling with American English.

This changeset replaces "behaviour" with "behavior" in various docblocks.

Props kebbet, jrf.
See #56811, #56792.

File:
1 edited

Legend:

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

    r54133 r54663  
    248248         *  - boolean false to avoid short-circuiting the response
    249249         *
    250          * Returning any other value may result in unexpected behaviour.
     250         * Returning any other value may result in unexpected behavior.
    251251         *
    252252         * @since 2.9.0
     
    326326        );
    327327
    328         // Ensure redirects follow browser behaviour.
     328        // Ensure redirects follow browser behavior.
    329329        $options['hooks']->register( 'requests.before_redirect', array( get_class(), 'browser_redirect_compatibility' ) );
    330330
     
    477477
    478478    /**
    479      * Match redirect behaviour to browser handling.
     479     * Match redirect behavior to browser handling.
    480480     *
    481481     * Changes 302 redirects from POST to GET to match browser handling. Per
Note: See TracChangeset for help on using the changeset viewer.