Skip to content

Commit 5bfde48

Browse files
committed
fix: html rendering in settings
1 parent 02033c8 commit 5bfde48

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

admin/options.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -66,27 +66,27 @@ function altcha_options_page_html()
6666

6767
<div style="opacity: 0.8;">
6868
<p><?php
69-
echo esc_html(sprintf(
70-
__(
69+
echo sprintf(
70+
esc_html__(
7171
/* translators: %1$s is the plugin version, and %2$s is the widget version */
7272
'ALTCHA Spam Protection for WordPress, plugin version %1$s, widget version %2$s',
7373
'altcha-spam-protection',
7474
),
7575
AltchaPlugin::$version,
7676
AltchaPlugin::$widget_version,
77-
));
77+
);
7878
?></p>
7979
<p>
8080
<?php
81-
echo esc_html(sprintf(
82-
__(
81+
echo sprintf(
82+
esc_html__(
8383
/* translators: the placeholders are opening and closing tags for a link (<a> tag) */
8484
'Please give ALTCHA a %s★★★★★ rating%s on WordPress.org to help us get the word out.',
8585
'altcha-spam-protection',
8686
),
8787
'<a href="https://wordpress.org/support/plugin/altcha-spam-protection/reviews/?filter=5#new-post" target="_blank">',
8888
'</a>',
89-
)); ?>
89+
); ?>
9090
</p>
9191
<p>
9292
<a href="https://github.com/altcha-org/altcha" target="_blank" style="display: inline-flex; gap: 0.3rem;">

0 commit comments

Comments
 (0)