Make WordPress Core

Ticket #51481: 51481.diff

File 51481.diff, 610 bytes (added by davidbaumwald, 5 years ago)

Updated docs

  • src/wp-includes/comment.php

    diff --git a/src/wp-includes/comment.php b/src/wp-includes/comment.php
    index 6b722529fc..a17c3718a5 100644
    a b function wp_set_comment_status( $comment_id, $comment_status, $wp_error = false 
    24012401        $comment = get_comment( $comment_old->comment_ID );
    24022402
    24032403        /**
    2404          * Fires immediately before transitioning a comment's status from one to another
    2405          * in the database.
     2404         * Fires immediately after transitioning a comment's status from one to another
     2405         * in the database but prior to all transition hooks.
    24062406         *
    24072407         * @since 1.5.0
    24082408         *