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
This commit is contained in:
parent
33418eeed5
commit
688b291312
@ -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.
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user