Changeset 29785
- Timestamp:
- 09/29/2014 12:41:49 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/dashboard.php
r29442 r29785 236 236 // Comments 237 237 $num_comm = wp_count_comments(); 238 if ( $num_comm && $num_comm-> total_comments) {239 $text = sprintf( _n( '%s Comment', '%s Comments', $num_comm-> total_comments ), number_format_i18n( $num_comm->total_comments) );238 if ( $num_comm && $num_comm->approved ) { 239 $text = sprintf( _n( '%s Comment', '%s Comments', $num_comm->approved ), number_format_i18n( $num_comm->approved ) ); 240 240 ?> 241 241 <li class="comment-count"><a href="edit-comments.php"><?php echo $text; ?></a></li>
Note: See TracChangeset
for help on using the changeset viewer.