mirror of
git://develop.git.wordpress.org/
synced 2025-01-17 21:08:44 +01:00
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
|
||||
* 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
|
||||
* next action called is {@see comment_$old_status_to_$new_status'}. It has the
|
||||
* comment data.
|
||||
* {@see 'transition_comment_status'} with new status, old status, and comment data.
|
||||
* The next action called is {@see 'comment_$old_status_to_$new_status'}. It has
|
||||
* the comment data.
|
||||
*
|
||||
* The final action will run whether or not the comment statuses are the same. The
|
||||
* action is named {@see 'comment_$new_status_$comment->comment_type'}.
|
||||
* The final action will run whether or not the comment statuses are the same.
|
||||
* The action is named {@see 'comment_$new_status_$comment->comment_type'}.
|
||||
*
|
||||
* @since 2.7.0
|
||||
*
|
||||
|
Loading…
x
Reference in New Issue
Block a user