Changeset 38334 for trunk/src/wp-includes/comment.php
- Timestamp:
- 08/23/2016 02:32:18 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/comment.php
r38313 r38334 633 633 */ 634 634 do_action( 'comment_duplicate_trigger', $commentdata ); 635 if ( defined( 'DOING_AJAX') ) {635 if ( wp_doing_ajax() ) { 636 636 die( __('Duplicate comment detected; it looks as though you’ve already said that!') ); 637 637 } … … 769 769 do_action( 'comment_flood_trigger', $time_lastcomment, $time_newcomment ); 770 770 771 if ( defined('DOING_AJAX') )771 if ( wp_doing_ajax() ) 772 772 die( __('You are posting comments too quickly. Slow down.') ); 773 773
Note: See TracChangeset
for help on using the changeset viewer.