WordPress.org

Make WordPress Core

Changeset 47324


Ignore:
Timestamp:
02/19/2020 01:43:16 PM (7 months ago)
Author:
SergeyBiryukov
Message:

Docs: Add missing quote to {@see 'comment_$old_status_to_$new_status'} hook reference in wp_transition_comment_status() DocBlock.

Props coffee2code.
Fixes #49474.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/comment.php

    r47286 r47324  
    16761676 * Calls hooks for comment status transitions. If the new comment status is not the same
    16771677 * as the previous comment status, then two hooks will be ran, the first is
    1678  * {@see 'transition_comment_status'} with new status, old status, and comment data. The
    1679  * next action called is {@see comment_$old_status_to_$new_status'}. It has the
    1680  * comment data.
    1681  *
    1682  * The final action will run whether or not the comment statuses are the same. The
    1683  * action is named {@see 'comment_$new_status_$comment->comment_type'}.
     1678 * {@see 'transition_comment_status'} with new status, old status, and comment data.
     1679 * The next action called is {@see 'comment_$old_status_to_$new_status'}. It has
     1680 * the comment data.
     1681 *
     1682 * The final action will run whether or not the comment statuses are the same.
     1683 * The action is named {@see 'comment_$new_status_$comment->comment_type'}.
    16841684 *
    16851685 * @since 2.7.0
Note: See TracChangeset for help on using the changeset viewer.