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
This commit is contained in:
parent
d4b3deddda
commit
387f4467a4
|
@ -2425,7 +2425,7 @@ function comment_form( $args = array(), $post_id = null ) {
|
|||
|
||||
$required_text = sprintf(
|
||||
/* translators: %s: Asterisk symbol (*). */
|
||||
' <span class="comment-required-message" aria-hidden="true">' . __( 'Required fields are marked %s' ) . '</span>',
|
||||
' <span class="required-field-message" aria-hidden="true">' . __( 'Required fields are marked %s' ) . '</span>',
|
||||
trim( $required_indicator )
|
||||
);
|
||||
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue