Don't forget to echo the result of esc_textarea()
git-svn-id: http://svn.automattic.com/wordpress/trunk@16485 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
43ff5a69a8
commit
e074436af0
|
@ -141,7 +141,7 @@ printf( __('Comments should be displayed with the %s comments at the top of each
|
|||
|
||||
<p><label for="moderation_keys"><?php _e('When a comment contains any of these words in its content, name, URL, e-mail, or IP, it will be held in the <a href="edit-comments.php?comment_status=moderated">moderation queue</a>. One word or IP per line. It will match inside words, so “press” will match “WordPress”.') ?></label></p>
|
||||
<p>
|
||||
<textarea name="moderation_keys" rows="10" cols="50" id="moderation_keys" class="large-text code"><?php esc_textarea( get_option( 'moderation_keys' ) ); ?></textarea>
|
||||
<textarea name="moderation_keys" rows="10" cols="50" id="moderation_keys" class="large-text code"><?php echo esc_textarea( get_option( 'moderation_keys' ) ); ?></textarea>
|
||||
</p>
|
||||
</fieldset></td>
|
||||
</tr>
|
||||
|
@ -150,7 +150,7 @@ printf( __('Comments should be displayed with the %s comments at the top of each
|
|||
<td><fieldset><legend class="screen-reader-text"><span><?php _e('Comment Blacklist') ?></span></legend>
|
||||
<p><label for="blacklist_keys"><?php _e('When a comment contains any of these words in its content, name, URL, e-mail, or IP, it will be marked as spam. One word or IP per line. It will match inside words, so “press” will match “WordPress”.') ?></label></p>
|
||||
<p>
|
||||
<textarea name="blacklist_keys" rows="10" cols="50" id="blacklist_keys" class="large-text code"><?php esc_textarea( get_option( 'blacklist_keys' ) ); ?></textarea>
|
||||
<textarea name="blacklist_keys" rows="10" cols="50" id="blacklist_keys" class="large-text code"><?php echo esc_textarea( get_option( 'blacklist_keys' ) ); ?></textarea>
|
||||
</p>
|
||||
</fieldset></td>
|
||||
</tr>
|
||||
|
|
|
@ -137,7 +137,7 @@ wp_dropdown_categories(array('hide_empty' => 0, 'name' => 'default_email_categor
|
|||
|
||||
<p><label for="ping_sites"><?php _e('When you publish a new post, WordPress automatically notifies the following site update services. For more about this, see <a href="http://codex.wordpress.org/Update_Services">Update Services</a> on the Codex. Separate multiple service <abbr title="Universal Resource Locator">URL</abbr>s with line breaks.') ?></label></p>
|
||||
|
||||
<textarea name="ping_sites" id="ping_sites" class="large-text code" rows="3"><?php esc_textarea( get_option('ping_sites') ); ?></textarea>
|
||||
<textarea name="ping_sites" id="ping_sites" class="large-text code" rows="3"><?php echo esc_textarea( get_option('ping_sites') ); ?></textarea>
|
||||
|
||||
<?php else : ?>
|
||||
|
||||
|
|
Loading…
Reference in New Issue