mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 09:37:42 +01:00
Specify a type (array) for the $post_data
parameter in the DocBlock for wp_autosave()
.
Props tillkruess. See #30508. Built from https://develop.svn.wordpress.org/trunk@30645 git-svn-id: http://core.svn.wordpress.org/trunk@30635 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
e4425165ff
commit
3ceb75bd8e
@ -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.
|
||||
*/
|
||||
|
@ -4,7 +4,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.1-beta2-30644';
|
||||
$wp_version = '4.1-beta2-30645';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
Loading…
Reference in New Issue
Block a user