Feeds

You are posting comments too quickly. Slow down.

PerformancingAds
Submitted by Ryan Caldwell on June 8, 2007 - 5:08pm in

If you run WordPress on a server that uses any proxy or caching system, you might find yourself with a confused WordPress flood control system.

You are posting comments too quickly. Slow down.

To WordPress, on some servers, every user looks like they are coming from the same IP. So what's the solution? Well, I would recommend downloading a more complex flood protection plugin then the built in WP version.

If you want to hack your own solution, look in the file comments.php and modify this code:

$flood_die = apply_filters('comment_flood_filter', false, $time_lastcomment, $time_newcomment);
if ( $flood_die ) {
do_action('comment_flood_trigger', $time_lastcomment, $time_newcomment);
wp_die( __('You are posting comments too quickly. Slow down.') );
}
}


Post new comment

The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <h2> <h3> <h4> <img> <div> <a> <em> <strong> <code> <ul> <ol> <li> <dl> <dt> <dd> <blockquote> <span> <table> <td> <tr> <caption> <th> <hr> <pre> <br> <p> <object> <param> <embed> <strike>
  • Lines and paragraphs break automatically.
  • You may post code using <code>...</code> (generic) or <?php ... ?> (highlighted PHP) tags.

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
3 + 14 =
Solve this simple math problem and enter the result. E.g. for 1+3, enter 4.