Skip to content

Commit

Permalink
Bundled Theme: Display required text field in core themes.
Browse files Browse the repository at this point in the history
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
  • Loading branch information
joedolson committed Nov 12, 2021
1 parent 1d093f6 commit 8b53b49
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion wp-content/themes/twentynineteen/inc/template-tags.php
Expand Up @@ -208,7 +208,6 @@ function twentynineteen_comment_form( $order ) {

comment_form(
array(
'logged_in_as' => null,
'title_reply' => null,
)
);
Expand Down
1 change: 0 additions & 1 deletion wp-content/themes/twentytwentyone/comments.php
Expand Up @@ -82,7 +82,6 @@
<?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>',
Expand Down
2 changes: 1 addition & 1 deletion wp-includes/version.php
Expand Up @@ -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.
Expand Down

0 comments on commit 8b53b49

Please sign in to comment.