[wp-cvs] wordpress/wp-includes functions-post.php,1.32,1.33

Matthew Mullenweg saxmatt at users.sourceforge.net
Mon Jan 24 08:28:08 GMT 2005


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

Modified Files:
	functions-post.php 
Log Message:
Let people know when things are held for moderation - http://mosquito.wordpress.org/view.php?id=705

Index: functions-post.php
===================================================================
RCS file: /cvsroot/cafelog/wordpress/wp-includes/functions-post.php,v
retrieving revision 1.32
retrieving revision 1.33
diff -C2 -d -r1.32 -r1.33
*** functions-post.php	21 Jan 2005 02:55:35 -0000	1.32
--- functions-post.php	24 Jan 2005 08:27:53 -0000	1.33
***************
*** 472,477 ****
  	do_action('comment_post', $comment_id);
  
! 	if ( 'spam' != $approved ) { // If it's spam save it silently for later crunching
! 		if ( !$approved )
  			wp_notify_moderator($comment_id);
  	
--- 472,477 ----
  	do_action('comment_post', $comment_id);
  
! 	if ( 'spam' !== $approved ) { // If it's spam save it silently for later crunching
! 		if ( '0' == $approved )
  			wp_notify_moderator($comment_id);
  	



More information about the cvs mailing list