Multisite: Improve escaping in network settings.
Merge of [37124] to the 4.0 branch. Built from https://develop.svn.wordpress.org/branches/4.0@37129 git-svn-id: http://core.svn.wordpress.org/branches/4.0@37096 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
84ad22efe9
commit
3291a9819a
|
@ -237,7 +237,7 @@ if ( isset( $_GET['updated'] ) ) {
|
||||||
<tr>
|
<tr>
|
||||||
<th scope="row"><label for="first_comment_author"><?php _e( 'First Comment Author' ) ?></label></th>
|
<th scope="row"><label for="first_comment_author"><?php _e( 'First Comment Author' ) ?></label></th>
|
||||||
<td>
|
<td>
|
||||||
<input type="text" size="40" name="first_comment_author" id="first_comment_author" value="<?php echo get_site_option('first_comment_author') ?>" />
|
<input type="text" size="40" name="first_comment_author" id="first_comment_author" value="<?php echo esc_attr( get_site_option('first_comment_author') ); ?>" />
|
||||||
<p class="description">
|
<p class="description">
|
||||||
<?php _e( 'The author of the first comment on a new site.' ) ?>
|
<?php _e( 'The author of the first comment on a new site.' ) ?>
|
||||||
</p>
|
</p>
|
||||||
|
|
Loading…
Reference in New Issue