Docs: Correct since
annotation for _wp_get_allowed_postdata()
.
This function was introduced in 5.0.1, not 4.9.9 as currently indicated. Introduced in [44047]. git-svn-id: https://develop.svn.wordpress.org/trunk@44540 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
fa886b237f
commit
399048fa0e
@ -198,7 +198,7 @@ function _wp_translate_postdata( $update = false, $post_data = null ) {
|
||||
/**
|
||||
* Returns only allowed post data fields
|
||||
*
|
||||
* @since 4.9.9
|
||||
* @since 5.0.1
|
||||
*
|
||||
* @param array $post_data Array of post data. Defaults to the contents of $_POST.
|
||||
* @return object|bool WP_Error on failure, true on success.
|
||||
|
Loading…
Reference in New Issue
Block a user