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. Built from https://develop.svn.wordpress.org/trunk@52149 git-svn-id: http://core.svn.wordpress.org/trunk@51741 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
1d093f699c
commit
8b53b4960d
|
@ -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>',
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '5.9-alpha-52148';
|
||||
$wp_version = '5.9-alpha-52149';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue