Improve various @param docs for src/wp-includes/*.

See #30224.


git-svn-id: https://develop.svn.wordpress.org/trunk@30681 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Scott Taylor
2014-12-01 01:33:34 +00:00
parent 8a4fa5662b
commit 4d46475b3d
22 changed files with 110 additions and 44 deletions
@@ -4630,6 +4630,10 @@ class wp_xmlrpc_server extends IXR_Server {
return strval($post_ID);
}
/**
* @param integer $post_ID
* @param array $enclosure
*/
public function add_enclosure_if_new( $post_ID, $enclosure ) {
if ( is_array( $enclosure ) && isset( $enclosure['url'] ) && isset( $enclosure['length'] ) && isset( $enclosure['type'] ) ) {
$encstring = $enclosure['url'] . "\n" . $enclosure['length'] . "\n" . $enclosure['type'] . "\n";
@@ -5914,6 +5918,10 @@ class wp_xmlrpc_server extends IXR_Server {
return $pingbacks;
}
/**
* @param integer $code
* @param string $message
*/
protected function pingback_error( $code, $message ) {
/**
* Filter the XML-RPC pingback error return.