mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00:00
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
This commit is contained in:
parent
a47e8924b0
commit
4f28c68eb6
@ -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()
|
||||
*
|
||||
|
||||
Loading…
Reference in New Issue
Block a user