Skip to content

Commit

Permalink
Use the correct escaping for HTML tags
Browse files Browse the repository at this point in the history
  • Loading branch information
defunctl committed Oct 16, 2023
1 parent 95fe912 commit 13a86a3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/views/admin/authorize-button.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@
*/
?>

<<?php echo esc_attr( $tag ) ?> class="uplink-authorize-container">
<<?php echo esc_html( $tag ) ?> class="uplink-authorize-container">
<a href="<?php echo esc_url( $url ) ?>"
target="<?php echo $target ? esc_attr( $target ) : '' ?>"
<?php echo $classes ? sprintf( 'class="%s"', esc_attr( $classes ) ) : '' ?>
>
<?php echo esc_html( $link_text ) ?>
</a>
</<?php echo esc_attr( $tag ) ?>>
</<?php echo esc_html( $tag ) ?>>

0 comments on commit 13a86a3

Please sign in to comment.