Make WordPress Core

Changeset 2082


Ignore:
Timestamp:
01/11/2005 06:47:07 PM (22 years ago)
Author:
saxmatt
Message:

http://mosquito.wordpress.org/view.php?id=668

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/functions-post.php

    r2077 r2082  
    448448                $time_lastcomment = mysql2date('U', $lasttime);
    449449                $time_newcomment  = mysql2date('U', $now_gmt);
    450                 if ( ($time_newcomment - $time_lastcomment) < 15 )
     450                if ( ($time_newcomment - $time_lastcomment) < 15 ) {
    451451                        do_action('comment_flood_trigger', '');
    452452                        die( __('Sorry, you can only post a new comment once every 15 seconds. Slow down cowboy.') );
     453                }
    453454        }
    454455
Note: See TracChangeset for help on using the changeset viewer.