From 8f44c445e6786f8f1bbd52825d4ad5b33a93a644 Mon Sep 17 00:00:00 2001 From: Jb Audras Date: Tue, 10 Jan 2023 09:07:01 +0000 Subject: [PATCH] Docs: Align spelling with American English. This changeset updates the use of "-ise" suffix to American English "-ize" in docblocks. Follow-up to [54663], [54664]. Props ironprogrammer, costdev. See #56811, #56792. git-svn-id: https://develop.svn.wordpress.org/trunk@55043 602fd350-edb4-49c9-b593-d223f7449a82 --- tests/phpunit/tests/multisite/site.php | 6 ++++-- tests/phpunit/tests/query/vars.php | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/tests/phpunit/tests/multisite/site.php b/tests/phpunit/tests/multisite/site.php index a3e179a88d..0d1667fbae 100644 --- a/tests/phpunit/tests/multisite/site.php +++ b/tests/phpunit/tests/multisite/site.php @@ -2125,8 +2125,10 @@ if ( is_multisite() ) : $blog_id = wpmu_create_blog( 'testsite1.example.org', '/test', 'test', 1, array( 'public' => 1 ), 2 ); - // Should not hit blog_details cache initialised in $this->populate_options_callback tirggered during - // populate_options callback's call of get_blog_details. + /* + * Should not hit blog_details cache initialized in $this->populate_options_callback triggered during + * populate_options callback's call of get_blog_details. + */ $this->assertSame( 'http://testsite1.example.org/test', get_blog_details( $blog_id )->siteurl ); $this->assertSame( 'http://testsite1.example.org/test', get_site( $blog_id )->siteurl ); diff --git a/tests/phpunit/tests/query/vars.php b/tests/phpunit/tests/query/vars.php index 7f336908a2..4b4b96561b 100644 --- a/tests/phpunit/tests/query/vars.php +++ b/tests/phpunit/tests/query/vars.php @@ -14,7 +14,7 @@ class Tests_Query_Vars extends WP_UnitTestCase { public function testPublicQueryVarsAreAsExpected() { global $wp; - // Re-initialise any dynamically-added public query vars: + // Re-initialize any dynamically-added public query vars: do_action( 'init' ); $this->assertSame(