Make WordPress Core

Changeset 30645


Ignore:
Timestamp:
11/30/2014 10:00:56 AM (10 years ago)
Author:
DrewAPicture
Message:

Specify a type (array) for the $post_data parameter in the DocBlock for wp_autosave().

Props tillkruess.
See #30508.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/post.php

    r30626 r30645  
    16301630 * @since 3.9.0
    16311631 *
    1632  * @param $post_data Associative array of the submitted post data.
     1632 * @param array $post_data Associative array of the submitted post data.
    16331633 * @return mixed The value 0 or WP_Error on failure. The saved post ID on success.
    16341634 *               Te ID can be the draft post_id or the autosave revision post_id.
Note: See TracChangeset for help on using the changeset viewer.