diff --git a/wp-includes/post.php b/wp-includes/post.php index 031595360e..38df3019e6 100644 --- a/wp-includes/post.php +++ b/wp-includes/post.php @@ -4009,11 +4009,14 @@ function wp_set_post_categories( $post_ID = 0, $post_categories = array(), $appe } /** - * Transition the post status of a post. + * Fires actions related to the transitioning of a post's status. * * When a post is saved, the post status is "transitioned" from one status to another, * though this does not always mean the status has actually changed before and after - * the save. + * the save. This function fires a number of action hooks related to that transition: + * the generic 'transition_post_status' action, as well as the dynamic hooks + * `"{$old_status}_to_{$new_status}"` and `"{$new_status}_{$post->post_type}"`. Note + * that the function does not transition the post object in the database. * * For instance: When publishing a post for the first time, the post status may transition * from 'draft' – or some other status – to 'publish'. However, if a post is already diff --git a/wp-includes/version.php b/wp-includes/version.php index c3e139425a..854cf4276a 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.3-beta3-33295'; +$wp_version = '4.3-beta3-33296'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.