Make WordPress Core

Changeset 52149


Ignore:
Timestamp:
11/12/2021 10:45:33 PM (5 years ago)
Author:
joedolson
Message:

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.

Location:
trunk/src/wp-content/themes
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentynineteen/inc/template-tags.php

    r47886 r52149  
    209209                        comment_form(
    210210                                array(
    211                                         'logged_in_as' => null,
    212211                                        'title_reply'  => null,
    213212                                )
  • trunk/src/wp-content/themes/twentytwentyone/comments.php

    r51553 r52149  
    8383        comment_form(
    8484                array(
    85                         'logged_in_as'       => null,
    8685                        'title_reply'        => esc_html__( 'Leave a comment', 'twentytwentyone' ),
    8786                        'title_reply_before' => '<h2 id="reply-title" class="comment-reply-title">',
Note: See TracChangeset for help on using the changeset viewer.