From 88f4aad3d9b8d90f3217741f1c1d4d82511622e9 Mon Sep 17 00:00:00 2001 From: Jb Audras Date: Mon, 4 Jul 2022 08:14:41 +0000 Subject: [PATCH] Comments: Use more appropriate escaping functions in class `WP_Comments_List_Table`. This changeset replaces `esc_attr` escaping function with `esc_html` as it is more appropriate in this context. Props chintan1896, afragen, peterwilsoncc, SergeyBiryukov. Fixes #56101. git-svn-id: https://develop.svn.wordpress.org/trunk@53640 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/includes/class-wp-comments-list-table.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wp-admin/includes/class-wp-comments-list-table.php b/src/wp-admin/includes/class-wp-comments-list-table.php index 6ecccf637b..948898fd7a 100644 --- a/src/wp-admin/includes/class-wp-comments-list-table.php +++ b/src/wp-admin/includes/class-wp-comments-list-table.php @@ -917,8 +917,8 @@ class WP_Comments_List_Table extends WP_List_Table { ?>