From 4f28c68eb61c656ba6ee3305ee066ff76d7e7403 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Fri, 20 Nov 2020 11:56:08 +0000 Subject: [PATCH] Docs: Correct `$fire_after_hooks` parameter name in `@since` tags. Follow-up to [49172], [49173]. See #45114. git-svn-id: https://develop.svn.wordpress.org/trunk@49673 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/post.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/wp-includes/post.php b/src/wp-includes/post.php index 3847744d1e..947d0477e0 100644 --- a/src/wp-includes/post.php +++ b/src/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() *