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
This commit is contained in:
Sergey Biryukov 2020-11-23 18:59:05 +00:00
parent f677bc838e
commit 5bbff0b5d6
2 changed files with 4 additions and 4 deletions

View File

@ -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 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.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 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() * @see sanitize_post()
* @global wpdb $wpdb WordPress database abstraction object. * @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 1.0.0
* @since 3.5.0 Added the `$wp_error` parameter to allow a WP_Error to be returned on failure. * @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, * @param array|object $postarr Optional. Post data. Arrays are expected to be escaped,
* objects are not. See wp_insert_post() for accepted arguments. * objects are not. See wp_insert_post() for accepted arguments.
@ -5830,7 +5830,7 @@ function is_local_attachment( $url ) {
* *
* @since 2.0.0 * @since 2.0.0
* @since 4.7.0 Added the `$wp_error` parameter to allow a WP_Error to be returned on failure. * @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() * @see wp_insert_post()
* *

View File

@ -13,7 +13,7 @@
* *
* @global string $wp_version * @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. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.