Make WordPress Core


Ignore:
Timestamp:
11/12/2003 03:22:47 PM (23 years ago)
Author:
emc3
Message:

otaku42's comment moderation patches

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-commentsrss2.php

    r414 r546  
    5454                                                                                        LEFT JOIN $tableposts ON comment_post_id = id
    5555                                                                                        WHERE comment_post_ID = '$id'
     56                                                                                        AND $tablecomments.comment_approved = '1'
    5657                                                                                        AND $tableposts.post_status = 'publish'
    5758                                                                                        AND post_category > '0'
    … …  
    7374                                                                                        LEFT JOIN $tableposts ON comment_post_id = id
    7475                                                                                        WHERE $tableposts.post_status = 'publish'
     76                                                                                        AND $tablecomments.comment_approved = '1'
    7577                                                                                        AND post_category > '0'
    7678                                                                                        AND post_date < '".date("Y-m-d H:i:s")."'
Note: See TracChangeset for help on using the changeset viewer.