From 1bbacbbda0066e63063be2daba329fb305d8c8c5 Mon Sep 17 00:00:00 2001 From: Lovekesh Kumar Date: Thu, 21 Sep 2023 00:09:46 +0530 Subject: [PATCH] Update inline comment Co-authored-by: Weston Ruter --- includes/sanitizers/class-amp-script-sanitizer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/sanitizers/class-amp-script-sanitizer.php b/includes/sanitizers/class-amp-script-sanitizer.php index 4bd815591f0..24fe1f39c83 100644 --- a/includes/sanitizers/class-amp-script-sanitizer.php +++ b/includes/sanitizers/class-amp-script-sanitizer.php @@ -141,7 +141,7 @@ public function sanitize() { $sanitizer_arg_updates[ AMP_Img_Sanitizer::class ]['native_img_used'] = true; } - // When custom scripts are on the page, turn off some CSS because processing it is + // When custom scripts are on the page, turn off some CSS processing because it is // unnecessary for a valid AMP page and which can break custom scripts. if ( $this->px_verified_kept_node_count > 0 || $this->kept_script_count > 0 ) { $sanitizer_arg_updates[ AMP_Style_Sanitizer::class ]['transform_important_qualifiers'] = false;