Skip to content

Commit 6fd4196

Browse files
committed
chore: escape the alerts icon class
1 parent 2818dcc commit 6fd4196

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎admin/partials/settings-page.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -835,7 +835,7 @@
835835
// it would get, without either having to guess.
836836
?>
837837
<p class="webdecoy-alerts-status">
838-
<span class="dashicons <?php echo $wd_alerts_on ? 'dashicons-bell' : 'dashicons-lock'; ?>"></span>
838+
<span class="dashicons <?php echo esc_attr($wd_alerts_on ? 'dashicons-bell' : 'dashicons-lock'); ?>"></span>
839839
<?php if ($wd_alerts_on) : ?>
840840
<?php esc_html_e('Slack and webhook alerts: On.', 'webdecoy'); ?>
841841
<a href="https://app.webdecoy.com/enforcement/actions" target="_blank" rel="noopener">

0 commit comments

Comments
 (0)