Make WordPress Core


Ignore:
Timestamp:
06/03/2014 04:43:47 AM (11 years ago)
Author:
DrewAPicture
Message:

Ensure $post_id is documented as optional where applicable.

See #28388.

File:
1 edited

Legend:

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

    r28653 r28654  
    17201720 * @uses get_the_author_meta()
    17211721 *
    1722  * @param int|WP_Post $post_id Optional. Post ID or post object.
     1722 * @param int|WP_Post $post_id Optional. Post ID or WP_Post object. Default is global `$post`.
    17231723 * @param string $type 'all' (default), 'revision' or 'autosave'
    17241724 * @return null
Note: See TracChangeset for help on using the changeset viewer.