From 387f4467a48a31229421a647a074ffb0881c49ac Mon Sep 17 00:00:00 2001 From: joedolson Date: Wed, 17 Nov 2021 18:38:02 +0000 Subject: [PATCH] Comments: Change new comment required text class. Change the new class on comment required text from `comment-required-message` to `required-field-message` for better future-compatibility, enabling better reuse. Props sabernhardt. Fixes #16206. Built from https://develop.svn.wordpress.org/trunk@52200 git-svn-id: http://core.svn.wordpress.org/trunk@51792 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/comment-template.php | 2 +- wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-includes/comment-template.php b/wp-includes/comment-template.php index e056d7b2db..c4bcf5b640 100644 --- a/wp-includes/comment-template.php +++ b/wp-includes/comment-template.php @@ -2425,7 +2425,7 @@ function comment_form( $args = array(), $post_id = null ) { $required_text = sprintf( /* translators: %s: Asterisk symbol (*). */ - ' ', + ' ', trim( $required_indicator ) ); diff --git a/wp-includes/version.php b/wp-includes/version.php index c1d3b801be..c7fd5943cd 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '5.9-alpha-52199'; +$wp_version = '5.9-alpha-52200'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.