Make WordPress Core

Ticket #53349: edit-form-comment.php.patch

File edit-form-comment.php.patch, 588 bytes (added by utsav72640, 3 years ago)

wp-admin\edit-form-comment.php

  • edit-form-comment.php

     
    5252<tr>
    5353        <td class="first"><label for="email"><?php _e( 'Email' ); ?></label></td>
    5454        <td>
    55                 <input type="text" name="newcomment_author_email" size="30" value="<?php echo $comment->comment_author_email; ?>" id="email" />
     55                <input type="text" name="newcomment_author_email" size="30" value="<?php echo esc_attr( $comment->comment_author_email ); ?>" id="email" />
    5656        </td>
    5757</tr>
    5858<tr>