WordPress.org

Support

Support » How-To and Troubleshooting » Bug in the functions-post.php 11.01.2005

Bug in the functions-post.php 11.01.2005

  • I have found a bug:
    Line 450 – 452:
    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.') );

    It must be:
    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.') );
    }

    When there are no {} no one can write a comment.

    – bjoern

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Bug in the functions-post.php 11.01.2005’ is closed to new replies.