WordPress.org

Make WordPress Core


Ignore:
Timestamp:
12/06/2019 10:41:26 PM (2 years ago)
Author:
johnbillion
Message:

Docs: Increase the specificity of various docblock parameter types and return types.

See #48303

File:
1 edited

Legend:

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

    r46732 r46823  
    17941794 * @since 2.6.0
    17951795 *
    1796  * @param mixed $post_data Associative array containing the post data or int post ID.
    1797  * @return mixed The autosave revision ID. WP_Error or 0 on error.
     1796 * @param array|int $post_data Associative array containing the post data or int post ID.
     1797 * @return int|WP_Error The autosave revision ID. WP_Error or 0 on error.
    17981798 */
    17991799function wp_create_post_autosave( $post_data ) {
Note: See TracChangeset for help on using the changeset viewer.