mirror of
git://develop.git.wordpress.org/
synced 2025-04-05 12:42:35 +02:00
Bundled Theme: Display required text field in core themes.
Fix Twenty Nineteen and Twenty Twenty-One setting the `logged_in_as` parameter to null, which also eliminated the required field text. See #16206. Props sabernhardt, poena. Fixes #54392. git-svn-id: https://develop.svn.wordpress.org/trunk@52149 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
0c812b536b
commit
85333a6192
@ -208,7 +208,6 @@ if ( ! function_exists( 'twentynineteen_comment_form' ) ) :
|
||||
|
||||
comment_form(
|
||||
array(
|
||||
'logged_in_as' => null,
|
||||
'title_reply' => null,
|
||||
)
|
||||
);
|
||||
|
@ -82,7 +82,6 @@ $twenty_twenty_one_comment_count = get_comments_number();
|
||||
<?php
|
||||
comment_form(
|
||||
array(
|
||||
'logged_in_as' => null,
|
||||
'title_reply' => esc_html__( 'Leave a comment', 'twentytwentyone' ),
|
||||
'title_reply_before' => '<h2 id="reply-title" class="comment-reply-title">',
|
||||
'title_reply_after' => '</h2>',
|
||||
|
Loading…
x
Reference in New Issue
Block a user