Make WordPress Core


Ignore:
Timestamp:
04/22/2008 08:51:54 PM (18 years ago)
Author:
ryan
Message:

Comment query fix from MtDewVirus. fixes #6805 for 2.5

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.5/wp-admin/includes/template.php

    r7734 r7767  
    597597        $approved = "comment_approved = 'spam'";
    598598    else
    599         $approved = "comment_approved = '0' OR comment_approved = '1'";
     599        $approved = "( comment_approved != '0' OR comment_approved = '1' )";
    600600
    601601    if ( $s ) {
Note: See TracChangeset for help on using the changeset viewer.