Make WordPress Core


Ignore:
Timestamp:
02/05/2005 06:32:57 PM (21 years ago)
Author:
rboren
Message:

s/comment_status/comment_approved/. Bug 807. Hat tip: gbhugo.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/edit.php

    r2211 r2224  
    168168if ( 1 == count($posts) ) {
    169169
    170     $comments = $wpdb->get_results("SELECT * FROM $wpdb->comments WHERE comment_post_ID = $id AND comment_status != 'spam' ORDER BY comment_date");
     170    $comments = $wpdb->get_results("SELECT * FROM $wpdb->comments WHERE comment_post_ID = $id AND comment_approved != 'spam' ORDER BY comment_date");
    171171    if ($comments) {
    172172    ?>
Note: See TracChangeset for help on using the changeset viewer.