From 548d03026b3948ebf80ef75aa40370d8c622dde8 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Tue, 27 Oct 2020 15:40:21 +0000 Subject: [PATCH] Docs: Fix typo in `{$old_status}_to_{$new_status}` hook description. See #50768. git-svn-id: https://develop.svn.wordpress.org/trunk@49326 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/post.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-includes/post.php b/src/wp-includes/post.php index b44bf573cc..92d16a6290 100644 --- a/src/wp-includes/post.php +++ b/src/wp-includes/post.php @@ -4897,7 +4897,7 @@ function wp_transition_post_status( $new_status, $old_status, $post ) { /** * Fires when a post is transitioned from one status to another. * - * The dynamic portions of the hook name, `$new_status` and `$old status`, + * The dynamic portions of the hook name, `$new_status` and `$old_status`, * refer to the old and new post statuses, respectively. * * @since 2.3.0