[wp-cvs] wordpress/wp-includes functions-post.php,1.28,1.29
Matthew Mullenweg
saxmatt at users.sourceforge.net
Tue Jan 11 18:47:10 GMT 2005
Update of /cvsroot/cafelog/wordpress/wp-includes
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31771/wp-includes
Modified Files:
functions-post.php
Log Message:
http://mosquito.wordpress.org/view.php?id=668
Index: functions-post.php
===================================================================
RCS file: /cvsroot/cafelog/wordpress/wp-includes/functions-post.php,v
retrieving revision 1.28
retrieving revision 1.29
diff -C2 -d -r1.28 -r1.29
*** functions-post.php 10 Jan 2005 23:21:42 -0000 1.28
--- functions-post.php 11 Jan 2005 18:47:07 -0000 1.29
***************
*** 448,454 ****
$time_lastcomment = mysql2date('U', $lasttime);
$time_newcomment = mysql2date('U', $now_gmt);
! if ( ($time_newcomment - $time_lastcomment) < 15 )
do_action('comment_flood_trigger', '');
die( __('Sorry, you can only post a new comment once every 15 seconds. Slow down cowboy.') );
}
--- 448,455 ----
$time_lastcomment = mysql2date('U', $lasttime);
$time_newcomment = mysql2date('U', $now_gmt);
! if ( ($time_newcomment - $time_lastcomment) < 15 ) {
do_action('comment_flood_trigger', '');
die( __('Sorry, you can only post a new comment once every 15 seconds. Slow down cowboy.') );
+ }
}
More information about the cvs
mailing list