WordPress.org

Make WordPress Core

Changeset 35981


Ignore:
Timestamp:
12/16/2015 11:17:39 PM (4 years ago)
Author:
DrewAPicture
Message:

Docs: Add a missing notation for the $args parameter in the DocBlock for wp_get_post_revisions().

See #32246.

File:
1 edited

Legend:

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

    r35793 r35981  
    412412 * @since 2.6.0
    413413 *
    414  * @param int|WP_Post $post_id Optional. Post ID or WP_Post object. Default is global $post.
     414 * @see get_children()
     415 *
     416 * @param int|WP_Post $post_id Optional. Post ID or WP_Post object. Default is global `$post`.
     417 * @param array|null  $args    Optional. Arguments for retrieving post revisions. Default null.
    415418 * @return array An array of revisions, or an empty array if none.
    416419 */
Note: See TracChangeset for help on using the changeset viewer.