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(