From 7614bd71d32fbca0879332f288daf576a951c6b9 Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Wed, 16 Dec 2015 17:32:28 +0000 Subject: [PATCH] Docs: Add a missing summary, `@since` version, and parameter descriptions to the DocBlock for `wp_xmlrpc_server::add_enclosure_if_new()`. Introduced in [10383]. See #32246. Built from https://develop.svn.wordpress.org/trunk@35963 git-svn-id: http://core.svn.wordpress.org/trunk@35928 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/class-wp-xmlrpc-server.php | 8 ++++++-- wp-includes/version.php | 2 +- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/wp-includes/class-wp-xmlrpc-server.php b/wp-includes/class-wp-xmlrpc-server.php index 90f1076d09..2e453c9aae 100644 --- a/wp-includes/class-wp-xmlrpc-server.php +++ b/wp-includes/class-wp-xmlrpc-server.php @@ -5079,8 +5079,12 @@ class wp_xmlrpc_server extends IXR_Server { } /** - * @param integer $post_ID - * @param array $enclosure + * Adds an enclosure to a post if it's new. + * + * @since 2.8.0 + * + * @param integer $post_ID Post ID. + * @param array $enclosure Enclosure data. */ public function add_enclosure_if_new( $post_ID, $enclosure ) { if ( is_array( $enclosure ) && isset( $enclosure['url'] ) && isset( $enclosure['length'] ) && isset( $enclosure['type'] ) ) { diff --git a/wp-includes/version.php b/wp-includes/version.php index 78f5144d3c..037a64cf0b 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.5-alpha-35962'; +$wp_version = '4.5-alpha-35963'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.