Changeset 51475 for trunk/src/wp-admin/edit-comments.php
- Timestamp:
- 07/22/2021 01:51:58 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/edit-comments.php
r50999 r51475 139 139 $comments_count = wp_count_comments( $post_id ); 140 140 $draft_or_post_title = wp_html_excerpt( _draft_or_post_title( $post_id ), 50, '…' ); 141 141 142 if ( $comments_count->moderated > 0 ) { 143 // Used in the HTML title tag. 142 144 $title = sprintf( 143 145 /* translators: 1: Comments count, 2: Post title. */ … … 147 149 ); 148 150 } else { 151 // Used in the HTML title tag. 149 152 $title = sprintf( 150 153 /* translators: %s: Post title. */ … … 155 158 } else { 156 159 $comments_count = wp_count_comments(); 160 157 161 if ( $comments_count->moderated > 0 ) { 162 // Used in the HTML title tag. 158 163 $title = sprintf( 159 164 /* translators: %s: Comments count. */ … … 162 167 ); 163 168 } else { 169 // Used in the HTML title tag. 164 170 $title = __( 'Comments' ); 165 171 }
Note: See TracChangeset
for help on using the changeset viewer.