Skip to content

Commit

Permalink
TOTP: Escape spinner admin URL.
Browse files Browse the repository at this point in the history
  • Loading branch information
iandunn committed Nov 9, 2022
1 parent ac63e64 commit 7961d39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion providers/class-two-factor-totp.php
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ public function user_two_factor_options( $user ) {
<p id="two-factor-qr-code">
<a href="<?php echo $totp_url; ?>">
Loading...
<img src="<?php echo admin_url('images/spinner.gif'); ?>" alt="" />
<img src="<?php echo esc_url( admin_url( 'images/spinner.gif' ) ); ?>" alt="" />
</a>
</p>

Expand Down

0 comments on commit 7961d39

Please sign in to comment.