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. Built from https://develop.svn.wordpress.org/trunk@55051 git-svn-id: http://core.svn.wordpress.org/trunk@54584 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
af34b7c082
commit
6e88e39baa
|
@ -4728,7 +4728,7 @@ function wp_make_link_relative( $link ) {
|
|||
* @global wpdb $wpdb WordPress database abstraction object.
|
||||
*
|
||||
* @param string $option The name of the option.
|
||||
* @param string $value The unsanitised value.
|
||||
* @param string $value The unsanitized value.
|
||||
* @return string Sanitized value.
|
||||
*/
|
||||
function sanitize_option( $option, $value ) {
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
* Loads header template.
|
||||
*
|
||||
* Includes the header template for a theme or if a name is specified then a
|
||||
* specialised header will be included.
|
||||
* specialized header will be included.
|
||||
*
|
||||
* For the parameter, if the file is called "header-special.php" then specify
|
||||
* "special".
|
||||
|
@ -19,7 +19,7 @@
|
|||
* @since 5.5.0 A return value was added.
|
||||
* @since 5.5.0 The `$args` parameter was added.
|
||||
*
|
||||
* @param string $name The name of the specialised header.
|
||||
* @param string $name The name of the specialized header.
|
||||
* @param array $args Optional. Additional arguments passed to the header template.
|
||||
* Default empty array.
|
||||
* @return void|false Void on success, false if the template does not exist.
|
||||
|
@ -54,7 +54,7 @@ function get_header( $name = null, $args = array() ) {
|
|||
* Loads footer template.
|
||||
*
|
||||
* Includes the footer template for a theme or if a name is specified then a
|
||||
* specialised footer will be included.
|
||||
* specialized footer will be included.
|
||||
*
|
||||
* For the parameter, if the file is called "footer-special.php" then specify
|
||||
* "special".
|
||||
|
@ -63,7 +63,7 @@ function get_header( $name = null, $args = array() ) {
|
|||
* @since 5.5.0 A return value was added.
|
||||
* @since 5.5.0 The `$args` parameter was added.
|
||||
*
|
||||
* @param string $name The name of the specialised footer.
|
||||
* @param string $name The name of the specialized footer.
|
||||
* @param array $args Optional. Additional arguments passed to the footer template.
|
||||
* Default empty array.
|
||||
* @return void|false Void on success, false if the template does not exist.
|
||||
|
@ -98,7 +98,7 @@ function get_footer( $name = null, $args = array() ) {
|
|||
* Loads sidebar template.
|
||||
*
|
||||
* Includes the sidebar template for a theme or if a name is specified then a
|
||||
* specialised sidebar will be included.
|
||||
* specialized sidebar will be included.
|
||||
*
|
||||
* For the parameter, if the file is called "sidebar-special.php" then specify
|
||||
* "special".
|
||||
|
@ -107,7 +107,7 @@ function get_footer( $name = null, $args = array() ) {
|
|||
* @since 5.5.0 A return value was added.
|
||||
* @since 5.5.0 The `$args` parameter was added.
|
||||
*
|
||||
* @param string $name The name of the specialised sidebar.
|
||||
* @param string $name The name of the specialized sidebar.
|
||||
* @param array $args Optional. Additional arguments passed to the sidebar template.
|
||||
* Default empty array.
|
||||
* @return void|false Void on success, false if the template does not exist.
|
||||
|
@ -145,7 +145,7 @@ function get_sidebar( $name = null, $args = array() ) {
|
|||
* in the theme.
|
||||
*
|
||||
* Includes the named template part for a theme or if a name is specified then a
|
||||
* specialised part will be included. If the theme contains no {slug}.php file
|
||||
* specialized part will be included. If the theme contains no {slug}.php file
|
||||
* then no template will be included.
|
||||
*
|
||||
* The template is included using require, not require_once, so you may include the
|
||||
|
@ -159,7 +159,7 @@ function get_sidebar( $name = null, $args = array() ) {
|
|||
* @since 5.5.0 The `$args` parameter was added.
|
||||
*
|
||||
* @param string $slug The slug name for the generic template.
|
||||
* @param string $name The name of the specialised template.
|
||||
* @param string $name The name of the specialized template.
|
||||
* @param array $args Optional. Additional arguments passed to the template.
|
||||
* Default empty array.
|
||||
* @return void|false Void on success, false if the template does not exist.
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '6.2-alpha-55050';
|
||||
$wp_version = '6.2-alpha-55051';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
|
@ -147,7 +147,7 @@ for ( $i = 1; $i <= $count; $i++ ) {
|
|||
|
||||
if ( preg_match( '/Date: /i', $line ) ) { // Of the form '20 Mar 2002 20:32:37 +0100'.
|
||||
$ddate = str_replace( 'Date: ', '', trim( $line ) );
|
||||
// Remove parenthesised timezone string if it exists, as this confuses strtotime().
|
||||
// Remove parenthesized timezone string if it exists, as this confuses strtotime().
|
||||
$ddate = preg_replace( '!\s*\(.+\)\s*$!', '', $ddate );
|
||||
$ddate_timestamp = strtotime( $ddate );
|
||||
$post_date = gmdate( 'Y-m-d H:i:s', $ddate_timestamp + $time_difference );
|
||||
|
|
Loading…
Reference in New Issue