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/revision.php

    r28543 r28654  
    410410 * @uses get_children()
    411411 *
    412  * @param int|object $post_id Post ID or post object
     412 * @param int|WP_Post $post_id Optional. Post ID or WP_Post object. Default is global `$post`.
    413413 * @return array An array of revisions, or an empty array if none.
    414414 */
Note: See TracChangeset for help on using the changeset viewer.