[wp-cvs] wordpress/wp-admin edit.php,1.41,1.42

Matthew Mullenweg saxmatt at users.sourceforge.net
Thu Feb 3 19:13:14 GMT 2005


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

Modified Files:
	edit.php 
Log Message:
Don't show spam in list

Index: edit.php
===================================================================
RCS file: /cvsroot/cafelog/wordpress/wp-admin/edit.php,v
retrieving revision 1.41
retrieving revision 1.42
diff -C2 -d -r1.41 -r1.42
*** edit.php	24 Jan 2005 07:39:23 -0000	1.41
--- edit.php	3 Feb 2005 19:13:11 -0000	1.42
***************
*** 168,172 ****
  if ( 1 == count($posts) ) {
  
! 	$comments = $wpdb->get_results("SELECT * FROM $wpdb->comments WHERE comment_post_ID = $id ORDER BY comment_date");
  	if ($comments) {
  	?> 
--- 168,172 ----
  if ( 1 == count($posts) ) {
  
! 	$comments = $wpdb->get_results("SELECT * FROM $wpdb->comments WHERE comment_post_ID = $id AND comment_status != 'spam' ORDER BY comment_date");
  	if ($comments) {
  	?> 



More information about the cvs mailing list