From 399048fa0e46bceb0ae5b476a2e2b378256a8842 Mon Sep 17 00:00:00 2001 From: Jonathan Desrosiers Date: Thu, 10 Jan 2019 03:30:42 +0000 Subject: [PATCH] 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 --- src/wp-admin/includes/post.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-admin/includes/post.php b/src/wp-admin/includes/post.php index 3f63d23611..714e42dc5b 100644 --- a/src/wp-admin/includes/post.php +++ b/src/wp-admin/includes/post.php @@ -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.