Changeset 13434 for trunk/wp-includes/comment.php
- Timestamp:
- 02/26/2010 07:06:09 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/comment.php
r13382 r13434 532 532 * @uses $wpdb 533 533 * @uses apply_filters() Calls 'pre_comment_approved' hook on the type of comment 534 * @uses apply_filters() Calls 'comment_duplicate_trigger' hook on commentdata. 534 535 * @uses do_action() Calls 'check_comment_flood' hook on $comment_author_IP, $comment_author_email, and $comment_date_gmt 535 536 * … … 548 549 $dupe .= ") AND comment_content = '$comment_content' LIMIT 1"; 549 550 if ( $wpdb->get_var($dupe) ) { 551 do_action( 'comment_duplicate_trigger', $commentdata ); 550 552 if ( defined('DOING_AJAX') ) 551 553 die( __('Duplicate comment detected; it looks as though you’ve already said that!') );
Note: See TracChangeset
for help on using the changeset viewer.