From ee213e333be92f563374c95a275944465cdc8df1 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Wed, 5 Aug 2020 13:53:06 +0000 Subject: [PATCH] Comments: Remove a few more unnecessary instances of `esc_html()` in `WP_Comments_List_Table::comment_status_dropdown()`. Core translations are considered safe, and these labels are not escaped in any other instances. Follow-up to [48521], [48722], [48724]. See #40188, #50815. Built from https://develop.svn.wordpress.org/trunk@48741 git-svn-id: http://core.svn.wordpress.org/trunk@48503 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/class-wp-comments-list-table.php | 8 ++++---- wp-includes/version.php | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/wp-admin/includes/class-wp-comments-list-table.php b/wp-admin/includes/class-wp-comments-list-table.php index dffd70ca9b..dd5aa74833 100644 --- a/wp-admin/includes/class-wp-comments-list-table.php +++ b/wp-admin/includes/class-wp-comments-list-table.php @@ -489,17 +489,17 @@ class WP_Comments_List_Table extends WP_List_Table { $comment_types = apply_filters( 'admin_comment_types_dropdown', array( - 'comment' => esc_html__( 'Comments' ), - 'pings' => esc_html__( 'Pings' ), + 'comment' => __( 'Comments' ), + 'pings' => __( 'Pings' ), ) ); if ( $comment_types && is_array( $comment_types ) ) { - printf( '', esc_html__( 'Filter by comment type' ) ); + printf( '', __( 'Filter by comment type' ) ); echo '