Make WordPress Core

Changeset 37132


Ignore:
Timestamp:
03/30/2016 04:07:00 PM (9 years ago)
Author:
jeremyfelt
Message:

Multisite: Improve escaping in network settings.

Merge of [37124] to the 3.7 branch.

File:
1 edited

Legend:

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

    r25616 r37132  
    225225                <th scope="row"><label for="first_comment_author"><?php _e( 'First Comment Author' ) ?></label></th>
    226226                <td>
    227                     <input type="text" size="40" name="first_comment_author" id="first_comment_author" value="<?php echo get_site_option('first_comment_author') ?>" />
     227                    <input type="text" size="40" name="first_comment_author" id="first_comment_author" value="<?php echo esc_attr( get_site_option('first_comment_author') ); ?>" />
    228228                    <br />
    229229                    <?php _e( 'The author of the first comment on a new site.' ) ?>
Note: See TracChangeset for help on using the changeset viewer.