Make WordPress Core

Ticket #36427: 36427.3.diff

File 36427.3.diff, 762 bytes (added by rachelbaker, 10 years ago)

Minor docs formatting fixes

  • src/wp-includes/comment.php

     
    20312031         * The hook also fires immediately before comment status transition hooks are fired.
    20322032         *
    20332033         * @since 1.2.0
     2034         * @since 4.6.0 The `$data` parameter was added.
    20342035         *
    2035          * @param int $comment_ID The comment ID.
     2036         * @param int   $comment_ID The comment ID.
     2037         * @param array $data       Comment data.
    20362038         */
    2037         do_action( 'edit_comment', $comment_ID );
     2039        do_action( 'edit_comment', $comment_ID, $data );
    20382040        $comment = get_comment($comment_ID);
    20392041        wp_transition_comment_status($comment->comment_approved, $old_status, $comment);
    20402042        return $rval;