Make WordPress Core

Ticket #62373: 62373.patch

File 62373.patch, 765 bytes (added by hiteshhuptechweb, 16 months ago)
  • src/wp-admin/edit-form-comment.php

    diff --git a/src/wp-admin/edit-form-comment.php b/src/wp-admin/edit-form-comment.php
    index 134c8bb05d..47b44ee31d 100644
    a b if ( 'approved' === wp_get_comment_status( $comment ) && $comment->comment_post_ 
    6868<tr>
    6969        <td class="first"><label for="newcomment_author_url"><?php _e( 'URL' ); ?></label></td>
    7070        <td>
    71                 <input type="text" id="newcomment_author_url" name="newcomment_author_url" size="30" class="code" value="<?php echo esc_attr( $comment->comment_author_url ); ?>" />
     71                <input type="text" id="newcomment_author_url" name="newcomment_author_url" size="30" class="code" value="<?php echo esc_url( $comment->comment_author_url ); ?>" />
    7272        </td>
    7373</tr>
    7474</tbody>