Changeset 13242 for trunk/wp-includes/comment.php
- Timestamp:
- 02/20/2010 02:01:46 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/comment.php
r13150 r13242 829 829 $approved = array('0' => 'moderated', '1' => 'approved', 'spam' => 'spam', 'trash' => 'trash', 'post-trashed' => 'post-trashed'); 830 830 $known_types = array_keys( $approved ); 831 foreach ( (array) $count as $row_num =>$row ) {831 foreach ( (array) $count as $row ) { 832 832 // Don't count post-trashed toward totals 833 833 if ( 'post-trashed' != $row['comment_approved'] && 'trash' != $row['comment_approved'] )
Note: See TracChangeset
for help on using the changeset viewer.