Make WordPress Core

Ticket #56101: 56101.patch

File 56101.patch, 1.0 KB (added by chintan1896, 2 years ago)
  • wp-admin/includes/class-wp-comments-list-table.php

    diff --git a/wp-admin/includes/class-wp-comments-list-table.php b/wp-admin/includes/class-wp-comments-list-table.php
    index 6ecccf637b..948898fd7a 100644
    a b class WP_Comments_List_Table extends WP_List_Table { 
    917917                        ?>
    918918                <div id="inline-<?php echo $comment->comment_ID; ?>" class="hidden">
    919919                        <textarea class="comment" rows="1" cols="1"><?php echo esc_textarea( $comment_content ); ?></textarea>
    920                         <div class="author-email"><?php echo esc_attr( $comment->comment_author_email ); ?></div>
    921                         <div class="author"><?php echo esc_attr( $comment->comment_author ); ?></div>
     920                        <div class="author-email"><?php echo esc_html( $comment->comment_author_email ); ?></div>
     921                        <div class="author"><?php echo esc_html( $comment->comment_author ); ?></div>
    922922                        <div class="author-url"><?php echo esc_url( $comment->comment_author_url ); ?></div>
    923923                        <div class="comment_status"><?php echo $comment->comment_approved; ?></div>
    924924                </div>