From 5af61deb04db6ed9c795b1a135ccffeb189f4011 Mon Sep 17 00:00:00 2001 From: parikshit adhikari Date: Fri, 27 Oct 2023 09:23:33 +0545 Subject: [PATCH] fixed typos --- bin/update-analytics-vendors.js | 2 +- tests/php/src/MobileRedirectionTest.php | 2 +- tests/php/test-amp-style-sanitizer.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/update-analytics-vendors.js b/bin/update-analytics-vendors.js index 514b4b889dd..1e7f2df3840 100644 --- a/bin/update-analytics-vendors.js +++ b/bin/update-analytics-vendors.js @@ -57,7 +57,7 @@ class UpdateAnalyticsVendors { } /** - * Extract vendors from recieved data. + * Extract vendors from received data. * * @return {Promise} */ diff --git a/tests/php/src/MobileRedirectionTest.php b/tests/php/src/MobileRedirectionTest.php index d0f386f1644..0baf5b7bc5a 100644 --- a/tests/php/src/MobileRedirectionTest.php +++ b/tests/php/src/MobileRedirectionTest.php @@ -746,7 +746,7 @@ public function get_test_data_for_add_mobile_version_switcher() { foreach ( [ true, false ] as $is_amp ) { foreach ( [ true, false ] as $is_customizer ) { foreach ( [ true, false ] as $is_paired_browsing ) { - // Skip ths condition for Reader mode since Paired Browsing not relevant. + // Skip this condition for Reader mode since Paired Browsing not relevant. if ( AMP_Theme_Support::READER_MODE_SLUG === $template_mode ) { continue; } diff --git a/tests/php/test-amp-style-sanitizer.php b/tests/php/test-amp-style-sanitizer.php index 7145218c473..68bd4963414 100644 --- a/tests/php/test-amp-style-sanitizer.php +++ b/tests/php/test-amp-style-sanitizer.php @@ -1691,7 +1691,7 @@ static function ( $selector ) { add_filter( 'amp_native_img_used', '__return_false' ); - // The toggling of the 'add_noscript_fallback' arg is to catch a bizzare PHP DOM issue whereby if you replace + // The toggling of the 'add_noscript_fallback' arg is to catch a bizarre PHP DOM issue whereby if you replace // an element in a Document, and that replaced element had an ID, the element will still be returned by // getElementById even though it is no longer inside of the document. When add_noscript_fallback is false, // then the original img (for example) will not be inside of the document (?).