From 5bbff0b5d6d53a57732a8ad60ca1354b6e1d67c1 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Mon, 23 Nov 2020 18:59:05 +0000 Subject: [PATCH] Docs: Correct `$fire_after_hooks` parameter name in `@since` tags. Follow-up to [49172], [49173]. Merges [49673] to the 5.6 branch. Reviewed by peterwilsoncc, SergeyBiryukov. Fixes #45114. Built from https://develop.svn.wordpress.org/branches/5.6@49684 git-svn-id: http://core.svn.wordpress.org/branches/5.6@49407 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/post.php | 6 +++--- wp-includes/version.php | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/wp-includes/post.php b/wp-includes/post.php index 7db2c44899..5ebd80f79d 100644 --- a/wp-includes/post.php +++ b/wp-includes/post.php @@ -3610,7 +3610,7 @@ function wp_get_recent_posts( $args = array(), $output = ARRAY_A ) { * @since 2.6.0 Added the `$wp_error` parameter to allow a WP_Error to be returned on failure. * @since 4.2.0 Support was added for encoding emoji in the post title, content, and excerpt. * @since 4.4.0 A 'meta_input' array can now be passed to `$postarr` to add post meta data. - * @since 5.6.0 Added the `fire_after_hooks` parameter. + * @since 5.6.0 Added the `$fire_after_hooks` parameter. * * @see sanitize_post() * @global wpdb $wpdb WordPress database abstraction object. @@ -4333,7 +4333,7 @@ function wp_insert_post( $postarr, $wp_error = false, $fire_after_hooks = true ) * * @since 1.0.0 * @since 3.5.0 Added the `$wp_error` parameter to allow a WP_Error to be returned on failure. - * @since 5.6.0 Added the `fire_after_hooks` parameter. + * @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. See wp_insert_post() for accepted arguments. @@ -5830,7 +5830,7 @@ function is_local_attachment( $url ) { * * @since 2.0.0 * @since 4.7.0 Added the `$wp_error` parameter to allow a WP_Error to be returned on failure. - * @since 5.6.0 Added the `fire_after_hooks` parameter. + * @since 5.6.0 Added the `$fire_after_hooks` parameter. * * @see wp_insert_post() * diff --git a/wp-includes/version.php b/wp-includes/version.php index 4ed43d5b65..c71e8d72bc 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.6-RC1-49682'; +$wp_version = '5.6-RC1-49684'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.