better wording

This commit is contained in:
Matthias Pfefferle 2022-12-05 20:58:02 +01:00
parent 07d93e809b
commit ebfc96695f

View file

@ -122,7 +122,7 @@
</tr> </tr>
<tr> <tr>
<th scope="row"> <th scope="row">
<?php \esc_html_e( 'HTML Whitelist', 'activitypub' ); ?> <?php \esc_html_e( 'HTML Allowlist', 'activitypub' ); ?>
</th> </th>
<td> <td>
<textarea name="activitypub_allowed_html" id="activitypub_allowed_html" rows="3" cols="50" class="large-text"><?php echo esc_html( \get_option( 'activitypub_allowed_html', ACTIVITYPUB_ALLOWED_HTML ) ); ?></textarea> <textarea name="activitypub_allowed_html" id="activitypub_allowed_html" rows="3" cols="50" class="large-text"><?php echo esc_html( \get_option( 'activitypub_allowed_html', ACTIVITYPUB_ALLOWED_HTML ) ); ?></textarea>
@ -131,7 +131,7 @@
echo \wp_kses( echo \wp_kses(
\sprintf( \sprintf(
// translators: // translators:
\__( 'A list of HTML elements, you want to whitelist for your activities. <strong>Leave list empty to support all HTML elements</strong>. Default: <code>%s</code>', 'activitypub' ), \__( 'A list of HTML elements, you want to allowlist for your activities. <strong>Leave list empty to support all HTML elements</strong>. Default: <code>%s</code>', 'activitypub' ),
\esc_html( ACTIVITYPUB_ALLOWED_HTML ) \esc_html( ACTIVITYPUB_ALLOWED_HTML )
), ),
'default' 'default'