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. git-svn-id: https://develop.svn.wordpress.org/trunk@49111 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
b455d336e3
commit
98866f5032
@ -2401,8 +2401,8 @@ function wp_set_comment_status( $comment_id, $comment_status, $wp_error = false
|
|||||||
$comment = get_comment( $comment_old->comment_ID );
|
$comment = get_comment( $comment_old->comment_ID );
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Fires immediately before transitioning a comment's status from one to another
|
* Fires immediately after transitioning a comment's status from one to another in the database
|
||||||
* in the database.
|
* and removing the comment from the object cache, but prior to all status transition hooks.
|
||||||
*
|
*
|
||||||
* @since 1.5.0
|
* @since 1.5.0
|
||||||
*
|
*
|
||||||
|
Loading…
Reference in New Issue
Block a user