[wp-cvs] wordpress wp-commentsrss2.php,1.24,1.25

Matthew Mullenweg saxmatt at users.sourceforge.net
Fri Feb 11 01:07:45 GMT 2005


Update of /cvsroot/cafelog/wordpress
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13843

Modified Files:
	wp-commentsrss2.php 
Log Message:
http://mosquito.wordpress.org/view.php?id=846

Index: wp-commentsrss2.php
===================================================================
RCS file: /cvsroot/cafelog/wordpress/wp-commentsrss2.php,v
retrieving revision 1.24
retrieving revision 1.25
diff -C2 -d -r1.24 -r1.25
*** wp-commentsrss2.php	31 Jan 2005 10:06:11 -0000	1.24
--- wp-commentsrss2.php	11 Feb 2005 01:07:42 -0000	1.25
***************
*** 31,35 ****
  			$wpdb->posts.ID, $wpdb->posts.post_password FROM $wpdb->comments 
  			LEFT JOIN $wpdb->posts ON comment_post_id = id WHERE comment_post_ID = '$id' 
! 			AND $wpdb->comments.comment_approved = '1' AND $wpdb->posts.post_status = 'publish' 
  			AND post_date < '".date("Y-m-d H:i:59")."' 
  			ORDER BY comment_date LIMIT " . get_settings('posts_per_rss') );
--- 31,35 ----
  			$wpdb->posts.ID, $wpdb->posts.post_password FROM $wpdb->comments 
  			LEFT JOIN $wpdb->posts ON comment_post_id = id WHERE comment_post_ID = '$id' 
! 			AND $wpdb->comments.comment_approved = '1' AND ($wpdb->posts.post_status = 'publish' OR $wpdb->posts.post_status = 'page') 
  			AND post_date < '".date("Y-m-d H:i:59")."' 
  			ORDER BY comment_date LIMIT " . get_settings('posts_per_rss') );



More information about the cvs mailing list