Docs: Fix typo in `{$old_status}_to_{$new_status}` hook description.

See #50768.
Built from https://develop.svn.wordpress.org/trunk@49326


git-svn-id: http://core.svn.wordpress.org/trunk@49087 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2020-10-27 15:42:09 +00:00
parent 7c32cbf990
commit 919f1cf461
2 changed files with 2 additions and 2 deletions

View File

@ -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. * 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. * refer to the old and new post statuses, respectively.
* *
* @since 2.3.0 * @since 2.3.0

View File

@ -13,7 +13,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '5.6-beta1-49325'; $wp_version = '5.6-beta1-49326';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.