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
This commit is contained in:
Drew Jaynes 2015-12-16 17:32:28 +00:00
parent 92dd7b7447
commit 7614bd71d3
2 changed files with 7 additions and 3 deletions

View File

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

View File

@ -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.