From 560b276b0b9580f55dbb977da45ccbe53bf51172 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Thu, 22 Oct 2015 12:17:28 +0000 Subject: [PATCH] Docs: Correct description for `_wp_post_revision_fields()` arguments. See #13382. Built from https://develop.svn.wordpress.org/trunk@35352 git-svn-id: http://core.svn.wordpress.org/trunk@35318 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/revision.php | 4 ++-- wp-includes/version.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/wp-includes/revision.php b/wp-includes/revision.php index d70bf75684..8c2337624d 100644 --- a/wp-includes/revision.php +++ b/wp-includes/revision.php @@ -18,8 +18,8 @@ * * @staticvar array $fields * - * @param array $post Optional. A post array to be processed for insertion as a post revision. - * @param bool $autosave Optional. Is the revision an autosave? + * @param array|null $post Optional. A post array to be processed for insertion as a post revision. Default null. + * @param bool $autosave Optional. Is the revision an autosave? Default false. * @return array Post array ready to be inserted as a post revision or array of fields that can be versioned. */ function _wp_post_revision_fields( $post = null, $autosave = false ) { diff --git a/wp-includes/version.php b/wp-includes/version.php index 5fc4e6c009..e6e4cddd68 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.4-alpha-35351'; +$wp_version = '4.4-alpha-35352'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.