From 5f2658073069d822a271cb392804fd0937cd4ca1 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Wed, 19 Feb 2020 13:43:16 +0000 Subject: [PATCH] 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 --- src/wp-includes/comment.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/wp-includes/comment.php b/src/wp-includes/comment.php index 9e2a84527f..95fbd5860e 100644 --- a/src/wp-includes/comment.php +++ b/src/wp-includes/comment.php @@ -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 *