Make WordPress Core

Changeset 49684


Ignore:
Timestamp:
11/23/2020 06:57:18 PM (4 years ago)
Author:
SergeyBiryukov
Message:

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.

Location:
branches/5.6
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/5.6

  • branches/5.6/src/wp-includes/post.php

    r49616 r49684  
    36113611 * @since 4.2.0 Support was added for encoding emoji in the post title, content, and excerpt.
    36123612 * @since 4.4.0 A 'meta_input' array can now be passed to `$postarr` to add post meta data.
    3613  * @since 5.6.0 Added the `fire_after_hooks` parameter.
     3613 * @since 5.6.0 Added the `$fire_after_hooks` parameter.
    36143614 *
    36153615 * @see sanitize_post()
     
    43344334 * @since 1.0.0
    43354335 * @since 3.5.0 Added the `$wp_error` parameter to allow a WP_Error to be returned on failure.
    4336  * @since 5.6.0 Added the `fire_after_hooks` parameter.
     4336 * @since 5.6.0 Added the `$fire_after_hooks` parameter.
    43374337 *
    43384338 * @param array|object $postarr          Optional. Post data. Arrays are expected to be escaped,
     
    58315831 * @since 2.0.0
    58325832 * @since 4.7.0 Added the `$wp_error` parameter to allow a WP_Error to be returned on failure.
    5833  * @since 5.6.0 Added the `fire_after_hooks` parameter.
     5833 * @since 5.6.0 Added the `$fire_after_hooks` parameter.
    58345834 *
    58355835 * @see wp_insert_post()
Note: See TracChangeset for help on using the changeset viewer.