Changeset 12183 for trunk/wp-includes/comment.php
- Timestamp:
- 11/13/2009 05:39:17 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/comment.php
r12150 r12183 778 778 foreach( (array) $count as $row_num => $row ) { 779 779 // Don't count post-trashed toward totals 780 if ( 'post-trashed' != $row['comment_approved'] )780 if ( 'post-trashed' != $row['comment_approved'] && 'trash' != $row['comment_approved'] ) 781 781 $total += $row['num_comments']; 782 782 if ( in_array( $row['comment_approved'], $known_types ) )
Note: See TracChangeset
for help on using the changeset viewer.