mirror of
git://develop.git.wordpress.org/
synced 2025-03-22 13:00:29 +01:00
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. git-svn-id: https://develop.svn.wordpress.org/trunk@52200 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
902fd83cf4
commit
59311a53d2
@ -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 )
|
||||
);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user