Changeset 38783 for trunk/src/wp-includes/comment.php
- Timestamp:
- 10/12/2016 01:49:21 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/comment.php
r38778 r38783 647 647 do_action( 'comment_duplicate_trigger', $commentdata ); 648 648 if ( true === $avoid_die ) { 649 return new WP_Error( 'comment_duplicate', __( 'Duplicate comment detected; it looks as though you’ve already said that!' ), $dupe_id);649 return new WP_Error( 'comment_duplicate', __( 'Duplicate comment detected; it looks as though you’ve already said that!' ), 409 ); 650 650 } else { 651 651 if ( wp_doing_ajax() ) { … … 703 703 704 704 if ( $is_flood ) { 705 return new WP_Error( 'comment_flood', __( 'You are posting comments too quickly. Slow down.' ) );705 return new WP_Error( 'comment_flood', __( 'You are posting comments too quickly. Slow down.' ), 429 ); 706 706 } 707 707
Note: See TracChangeset
for help on using the changeset viewer.