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

See #32246.

Built from https://develop.svn.wordpress.org/trunk@35981


git-svn-id: http://core.svn.wordpress.org/trunk@35946 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Drew Jaynes 2015-12-16 23:18:26 +00:00
parent 7b19006ce1
commit 81abb11839
2 changed files with 5 additions and 2 deletions

View File

@ -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 ) {

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.5-alpha-35980';
$wp_version = '4.5-alpha-35981';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.