Make WordPress Core

Changeset 37124


Ignore:
Timestamp:
03/30/2016 03:58:29 PM (8 years ago)
Author:
jeremyfelt
Message:

Multisite: Improve escaping in network settings.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/network/settings.php

    r35570 r37124  
    259259                <th scope="row"><label for="first_comment_author"><?php _e( 'First Comment Author' ) ?></label></th>
    260260                <td>
    261                     <input type="text" size="40" name="first_comment_author" id="first_comment_author" aria-describedby="first-comment-author-desc" value="<?php echo get_site_option('first_comment_author') ?>" />
     261                    <input type="text" size="40" name="first_comment_author" id="first_comment_author" aria-describedby="first-comment-author-desc" value="<?php echo esc_attr( get_site_option('first_comment_author') ); ?>" />
    262262                    <p class="description" id="first-comment-author-desc">
    263263                        <?php _e( 'The author of the first comment on a new site.' ) ?>
Note: See TracChangeset for help on using the changeset viewer.