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

See #32246.


git-svn-id: https://develop.svn.wordpress.org/trunk@35981 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Drew Jaynes 2015-12-16 23:17:39 +00:00
parent 649644ff00
commit e635606cc1
1 changed files with 4 additions and 1 deletions

View File

@ -411,7 +411,10 @@ function wp_delete_post_revision( $revision_id ) {
* *
* @since 2.6.0 * @since 2.6.0
* *
* @param int|WP_Post $post_id Optional. Post ID or WP_Post object. Default is global $post. * @see get_children()
*
* @param int|WP_Post $post_id Optional. Post ID or WP_Post object. Default is global `$post`.
* @param array|null $args Optional. Arguments for retrieving post revisions. Default null.
* @return array An array of revisions, or an empty array if none. * @return array An array of revisions, or an empty array if none.
*/ */
function wp_get_post_revisions( $post_id = 0, $args = null ) { function wp_get_post_revisions( $post_id = 0, $args = null ) {