- Timestamp:
- 10/30/2018 02:13:07 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/5.0/src/wp-content/themes/twentynineteen/comments.php
r43808 r43842 10 10 * @package WordPress 11 11 * @subpackage Twenty_Nineteen 12 * @since 1.0.0 12 13 */ 13 14 … … 29 30 if ( comments_open() ) { 30 31 if ( have_comments() ) { 31 e cho esc_html_e( 'Join the Conversation', 'twentynineteen' );32 esc_html_e( 'Join the Conversation', 'twentynineteen' ); 32 33 } else { 33 e cho esc_html_e( 'Leave a comment', 'twentynineteen' );34 esc_html_e( 'Leave a comment', 'twentynineteen' ); 34 35 } 35 36 } else { … … 85 86 <?php 86 87 87 // Show comment form at bottom if showing newest comments at the bottom.88 if ( comments_open() && 'asc' === strtolower( get_option( 'comment_order', 'asc' ) ) ) :89 ?>90 <div class="comment-form-flex">91 <span class="screen-reader-text"><?php esc_html_e( 'Leave a comment', 'twentynineteen' ); ?></span>92 <?php twentynineteen_comment_form( 'asc' ); ?>93 <h2 class="comments-title" aria-hidden="true"><?php esc_html_e( 'Leave a comment', 'twentynineteen' ); ?></h2>94 </div>95 <?php96 endif;97 98 88 // Show comment navigation 99 89 if ( have_comments() ) : … … 107 97 ) 108 98 ); 99 endif; 100 101 // Show comment form at bottom if showing newest comments at the bottom. 102 if ( comments_open() && 'asc' === strtolower( get_option( 'comment_order', 'asc' ) ) ) : 103 ?> 104 <div class="comment-form-flex"> 105 <span class="screen-reader-text"><?php esc_html_e( 'Leave a comment', 'twentynineteen' ); ?></span> 106 <?php twentynineteen_comment_form( 'asc' ); ?> 107 <h2 class="comments-title" aria-hidden="true"><?php esc_html_e( 'Leave a comment', 'twentynineteen' ); ?></h2> 108 </div> 109 <?php 109 110 endif; 110 111
Note: See TracChangeset
for help on using the changeset viewer.