[wp-trac] [WordPress Trac] #51481: Inline doc for `wp_set_comment_status` hook is wrong

WordPress Trac noreply at wordpress.org
Fri Oct 9 01:26:41 UTC 2020


#51481: Inline doc for `wp_set_comment_status` hook is wrong
--------------------------+----------------------------
 Reporter:  henry.wright  |       Owner:  davidbaumwald
     Type:  defect (bug)  |      Status:  closed
 Priority:  low           |   Milestone:  5.6
Component:  Comments      |     Version:  trunk
 Severity:  normal        |  Resolution:  fixed
 Keywords:  has-patch     |     Focuses:  docs
--------------------------+----------------------------
Changes (by SergeyBiryukov):

 * status:  accepted => closed
 * resolution:   => fixed


Comment:

 In [changeset:"49111" 49111]:
 {{{
 #!CommitTicketReference repository="" revision="49111"
 Docs: Correct description for `wp_set_comment_status` hook.

 The action fires immediately after transitioning a comment's status from
 one to another in the database and removing the comment from the object
 cache, but prior to all status transition hooks.

 Props davidbaumwald, henry.wright.
 Fixes #51481.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/51481#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list