Make WordPress Core


Ignore:
Timestamp:
02/20/2010 02:01:46 AM (17 years ago)
Author:
dd32
Message:

Variable Cleanup, Unused variables, Typo'd variables, unused code blocks. Fixes #12299

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/comment.php

    r13150 r13242  
    829829        $approved = array('0' => 'moderated', '1' => 'approved', 'spam' => 'spam', 'trash' => 'trash', 'post-trashed' => 'post-trashed');
    830830        $known_types = array_keys( $approved );
    831         foreach( (array) $count as $row_num => $row ) {
     831        foreach ( (array) $count as $row ) {
    832832                // Don't count post-trashed toward totals
    833833                if ( 'post-trashed' != $row['comment_approved'] && 'trash' != $row['comment_approved'] )
Note: See TracChangeset for help on using the changeset viewer.