WordPress.org

Make WordPress Core


Ignore:
Timestamp:
08/27/2007 06:34:18 AM (13 years ago)
Author:
matt
Message:

Make the entire comment flood check pluggable as it can cause load problems on large sites.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/default-filters.php

    r5937 r5947  
    107107add_filter('pre_kses', 'wp_pre_kses_less_than');
    108108add_filter('sanitize_title', 'sanitize_title_with_dashes');
     109add_action('check_comment_flood', 'check_comment_flood_db', 10, 3);
    109110add_filter('comment_flood_filter', 'wp_throttle_comment_flood', 10, 3);
    110111add_filter('pre_comment_content', 'wp_rel_nofollow', 15);
Note: See TracChangeset for help on using the changeset viewer.