From 618fb979c6fb408a715487e40fd3018cb15cc768 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Wed, 4 Nov 2020 01:39:06 +0000 Subject: [PATCH] Docs: Add a reference to `wp_insert_post()` for information on the arguments accepted by `wp_update_post()`. See #50768. Built from https://develop.svn.wordpress.org/trunk@49493 git-svn-id: http://core.svn.wordpress.org/trunk@49252 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/post.php | 3 ++- wp-includes/version.php | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/wp-includes/post.php b/wp-includes/post.php index 803b91ca27..65c9e32d1e 100644 --- a/wp-includes/post.php +++ b/wp-includes/post.php @@ -4327,7 +4327,8 @@ function wp_insert_post( $postarr, $wp_error = false, $fire_after_hooks = true ) * @since 5.6.0 Added the `fire_after_hooks` parameter. * * @param array|object $postarr Optional. Post data. Arrays are expected to be escaped, - * objects are not. Default array. + * objects are not. See wp_insert_post() for accepted arguments. + * Default array. * @param bool $wp_error Optional. Whether to return a WP_Error on failure. Default false. * @param bool $fire_after_hooks Optional. Whether to fire the after insert hooks. Default true. * @return int|WP_Error The post ID on success. The value 0 or WP_Error on failure. diff --git a/wp-includes/version.php b/wp-includes/version.php index 65233ed39d..d797cae042 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.6-beta3-49492'; +$wp_version = '5.6-beta3-49493'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.