Docs: Add missing quote to `{@see 'comment_$old_status_to_$new_status'}` hook reference in `wp_transition_comment_status()` DocBlock.
Props coffee2code. Fixes #49474. git-svn-id: https://develop.svn.wordpress.org/trunk@47324 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
e4dda92bc5
commit
5f26580730
|
@ -1675,12 +1675,12 @@ function wp_get_comment_status( $comment_id ) {
|
||||||
*
|
*
|
||||||
* Calls hooks for comment status transitions. If the new comment status is not the same
|
* Calls hooks for comment status transitions. If the new comment status is not the same
|
||||||
* as the previous comment status, then two hooks will be ran, the first is
|
* as the previous comment status, then two hooks will be ran, the first is
|
||||||
* {@see 'transition_comment_status'} with new status, old status, and comment data. The
|
* {@see 'transition_comment_status'} with new status, old status, and comment data.
|
||||||
* next action called is {@see comment_$old_status_to_$new_status'}. It has the
|
* The next action called is {@see 'comment_$old_status_to_$new_status'}. It has
|
||||||
* comment data.
|
* the comment data.
|
||||||
*
|
*
|
||||||
* The final action will run whether or not the comment statuses are the same. The
|
* The final action will run whether or not the comment statuses are the same.
|
||||||
* action is named {@see 'comment_$new_status_$comment->comment_type'}.
|
* The action is named {@see 'comment_$new_status_$comment->comment_type'}.
|
||||||
*
|
*
|
||||||
* @since 2.7.0
|
* @since 2.7.0
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in New Issue