Skip to content

Commit

Permalink
Update inline comment
Browse files Browse the repository at this point in the history
Co-authored-by: Weston Ruter <westonruter@google.com>
  • Loading branch information
thelovekesh and westonruter committed Oct 14, 2023
1 parent 75ea894 commit 1bbacbb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/sanitizers/class-amp-script-sanitizer.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 1bbacbb

Please sign in to comment.