mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 12:20:22 +00:00
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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user