Skip to content

Commit

Permalink
Add additional escaping just in case
Browse files Browse the repository at this point in the history
  • Loading branch information
kasparsd committed Dec 2, 2024
1 parent 11c97f3 commit 2284d6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion class-two-factor-core.php
Original file line number Diff line number Diff line change
Expand Up @@ -1830,7 +1830,7 @@ public static function user_two_factor_options( $user ) {
<h2><?php esc_html_e( 'Two-Factor Options', 'two-factor' ); ?></h2>
<?php foreach ( $notices as $notice_type => $notice ) : ?>
<div class="<?php echo esc_attr( $notice_type ? 'notice inline notice-' . $notice_type : '' ); ?>">
<p><?php echo $notice; ?></p>
<p><?php echo wp_kses_post( $notice ); ?></p>
</div>
<?php endforeach; ?>
<p>
Expand Down

0 comments on commit 2284d6a

Please sign in to comment.