From 688b291312f4baf638897f65eac4b3666801ce23 Mon Sep 17 00:00:00 2001 From: "Drew Jaynes (DrewAPicture)" Date: Sun, 30 Nov 2014 10:00:56 +0000 Subject: [PATCH] Specify a type (array) for the `$post_data` parameter in the DocBlock for `wp_autosave()`. Props tillkruess. See #30508. git-svn-id: https://develop.svn.wordpress.org/trunk@30645 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 6d0d5a9246..8804bc92c7 100644 --- a/src/wp-admin/includes/post.php +++ b/src/wp-admin/includes/post.php @@ -1629,7 +1629,7 @@ function post_preview() { * * @since 3.9.0 * - * @param $post_data Associative array of the submitted post data. + * @param array $post_data Associative array of the submitted post data. * @return mixed The value 0 or WP_Error on failure. The saved post ID on success. * Te ID can be the draft post_id or the autosave revision post_id. */