Make WordPress Core

Changeset 11248


Ignore:
Timestamp:
05/10/2009 07:11:12 AM (16 years ago)
Author:
westi
Message:

Add 'pre_comment_on_post' action to allow early denial by spam plugin. Fixes #8343.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-comments-post.php

    r11223 r11248  
    3131    do_action('comment_on_draft', $comment_post_ID);
    3232    exit;
     33} else {
     34    do_action('pre_comment_on_post', $comment_post_ID);
    3335}
    3436
Note: See TracChangeset for help on using the changeset viewer.