From aeebd14fe28d9abb45aece99b330e9bd88796fc7 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Mon, 7 Jun 2021 18:47:02 +0000 Subject: [PATCH] Comments: Escape comment author's email in the Edit Comment form. Technically, this is redundant, as the `comment_author`, `comment_author_email`, and `comment_author_url` fields are already escaped via `get_comment_to_edit()` before the form is displayed. However, this brings some consistency with the `comment_author` and `comment_author_url` fields being escaped in the same form. Follow-up to [11721]. Props utsav72640. Fixes #53349. Built from https://develop.svn.wordpress.org/trunk@51080 git-svn-id: http://core.svn.wordpress.org/trunk@50689 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/edit-form-comment.php | 2 +- wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-admin/edit-form-comment.php b/wp-admin/edit-form-comment.php index ef0818c510..654046c3d9 100644 --- a/wp-admin/edit-form-comment.php +++ b/wp-admin/edit-form-comment.php @@ -52,7 +52,7 @@ if ( 'approved' === wp_get_comment_status( $comment ) && $comment->comment_post_ - + diff --git a/wp-includes/version.php b/wp-includes/version.php index 6823d3db63..87ca5e8a26 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.8-alpha-51079'; +$wp_version = '5.8-alpha-51080'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.