diff --git src/wp-includes/comment.php src/wp-includes/comment.php
index d00eb77..c3aa78d 100644
|
|
|
function wp_update_comment($commentarr) {
|
| 2031 | 2031 | * The hook also fires immediately before comment status transition hooks are fired. |
| 2032 | 2032 | * |
| 2033 | 2033 | * @since 1.2.0 |
| | 2034 | * @updated 4.6.0 |
| 2034 | 2035 | * |
| 2035 | 2036 | * @param int $comment_ID The comment ID. |
| | 2037 | * @param array $data Comment Data |
| 2036 | 2038 | */ |
| 2037 | | do_action( 'edit_comment', $comment_ID ); |
| | 2039 | do_action( 'edit_comment', $comment_ID, $data ); |
| 2038 | 2040 | $comment = get_comment($comment_ID); |
| 2039 | 2041 | wp_transition_comment_status($comment->comment_approved, $old_status, $comment); |
| 2040 | 2042 | return $rval; |