Skip to content

Commit

Permalink
Running header alt through esc_attr
Browse files Browse the repository at this point in the history
  • Loading branch information
jmbarne3 committed Jan 11, 2022
1 parent f8cc9f7 commit 8b0dcd1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion template-parts/impact/browser/header.php
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@
<?php if ( $header_img_url ): ?>
<a href="<?php echo $header_img_url; ?>">
<?php endif; ?>
<img class="img-fluid" width="640" src="<?php echo $header_img; ?>" alt="<?php echo $header_image_alt; ?>" style="max-width: 100%;">
<img class="img-fluid" width="640" src="<?php echo $header_img; ?>" alt="<?php echo esc_attr( $header_image_alt ); ?>" style="max-width: 100%;">
<?php if ( $header_img_url ): ?>
</a>
<?php endif; ?>
Expand Down

0 comments on commit 8b0dcd1

Please sign in to comment.