Skip to content

Commit

Permalink
Merge pull request ampproject#7648 from parikshit-adhikari/patch1
Browse files Browse the repository at this point in the history
Fix: Multiple typos
  • Loading branch information
westonruter authored Oct 30, 2023
2 parents 2393bd4 + 5af61de commit ad827ad
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion bin/update-analytics-vendors.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ class UpdateAnalyticsVendors {
}

/**
* Extract vendors from recieved data.
* Extract vendors from received data.
*
* @return {Promise<void>}
*/
Expand Down
2 changes: 1 addition & 1 deletion tests/php/src/MobileRedirectionTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down
2 changes: 1 addition & 1 deletion tests/php/test-amp-style-sanitizer.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 (?).
Expand Down

0 comments on commit ad827ad

Please sign in to comment.