Ticket #36427: 36427.3.diff
| File 36427.3.diff, 762 bytes (added by , 10 years ago) |
|---|
-
src/wp-includes/comment.php
2031 2031 * The hook also fires immediately before comment status transition hooks are fired. 2032 2032 * 2033 2033 * @since 1.2.0 2034 * @since 4.6.0 The `$data` parameter was added. 2034 2035 * 2035 * @param int $comment_ID The comment ID. 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;
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)