diff --git a/src/wp-includes/revision.php b/src/wp-includes/revision.php index 2f482e0ceb..03c04666a9 100644 --- a/src/wp-includes/revision.php +++ b/src/wp-includes/revision.php @@ -411,7 +411,10 @@ function wp_delete_post_revision( $revision_id ) { * * @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. */ function wp_get_post_revisions( $post_id = 0, $args = null ) {