Make WordPress Core

Changeset 55051


Ignore:
Timestamp:
01/11/2023 01:57:17 PM (16 months ago)
Author:
audrasjb
Message:

Docs: Align spelling with American English.

This changeset updates the use of "-ise" suffix to American English "-ize" in various files.

Follow-up to [54663], [54664], [55043], [55044].

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

Location:
trunk/src
Files:
3 edited

Legend:

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

    r54929 r55051  
    47294729 *
    47304730 * @param string $option The name of the option.
    4731  * @param string $value  The unsanitised value.
     4731 * @param string $value  The unsanitized value.
    47324732 * @return string Sanitized value.
    47334733 */
  • trunk/src/wp-includes/general-template.php

    r54932 r55051  
    1111 *
    1212 * Includes the header template for a theme or if a name is specified then a
    13  * specialised header will be included.
     13 * specialized header will be included.
    1414 *
    1515 * For the parameter, if the file is called "header-special.php" then specify
     
    2020 * @since 5.5.0 The `$args` parameter was added.
    2121 *
    22  * @param string $name The name of the specialised header.
     22 * @param string $name The name of the specialized header.
    2323 * @param array  $args Optional. Additional arguments passed to the header template.
    2424 *                     Default empty array.
     
    5555 *
    5656 * Includes the footer template for a theme or if a name is specified then a
    57  * specialised footer will be included.
     57 * specialized footer will be included.
    5858 *
    5959 * For the parameter, if the file is called "footer-special.php" then specify
     
    6464 * @since 5.5.0 The `$args` parameter was added.
    6565 *
    66  * @param string $name The name of the specialised footer.
     66 * @param string $name The name of the specialized footer.
    6767 * @param array  $args Optional. Additional arguments passed to the footer template.
    6868 *                     Default empty array.
     
    9999 *
    100100 * Includes the sidebar template for a theme or if a name is specified then a
    101  * specialised sidebar will be included.
     101 * specialized sidebar will be included.
    102102 *
    103103 * For the parameter, if the file is called "sidebar-special.php" then specify
     
    108108 * @since 5.5.0 The `$args` parameter was added.
    109109 *
    110  * @param string $name The name of the specialised sidebar.
     110 * @param string $name The name of the specialized sidebar.
    111111 * @param array  $args Optional. Additional arguments passed to the sidebar template.
    112112 *                     Default empty array.
     
    146146 *
    147147 * Includes the named template part for a theme or if a name is specified then a
    148  * specialised part will be included. If the theme contains no {slug}.php file
     148 * specialized part will be included. If the theme contains no {slug}.php file
    149149 * then no template will be included.
    150150 *
     
    160160 *
    161161 * @param string $slug The slug name for the generic template.
    162  * @param string $name The name of the specialised template.
     162 * @param string $name The name of the specialized template.
    163163 * @param array  $args Optional. Additional arguments passed to the template.
    164164 *                     Default empty array.
  • trunk/src/wp-mail.php

    r54866 r55051  
    148148            if ( preg_match( '/Date: /i', $line ) ) { // Of the form '20 Mar 2002 20:32:37 +0100'.
    149149                $ddate = str_replace( 'Date: ', '', trim( $line ) );
    150                 // Remove parenthesised timezone string if it exists, as this confuses strtotime().
     150                // Remove parenthesized timezone string if it exists, as this confuses strtotime().
    151151                $ddate           = preg_replace( '!\s*\(.+\)\s*$!', '', $ddate );
    152152                $ddate_timestamp = strtotime( $ddate );
Note: See TracChangeset for help on using the changeset viewer.