Docs: Add a missing summary, @since version, and parameter descriptions to the DocBlock for wp_xmlrpc_server::pingback_error().

Introduced in [23329]. Also corrects return descriptions for two deprecated methods.

See #32246.

Built from https://develop.svn.wordpress.org/trunk@35964


git-svn-id: http://core.svn.wordpress.org/trunk@35929 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Drew Jaynes 2015-12-16 17:38:27 +00:00
parent 7614bd71d3
commit 25eca6974e
2 changed files with 10 additions and 6 deletions

View File

@ -4532,7 +4532,7 @@ class wp_xmlrpc_server extends IXR_Server {
* @deprecated 3.5.0 * @deprecated 3.5.0
* *
* @param array $args Unused. * @param array $args Unused.
* @return IXR_Error Error message. * @return IXR_Error Error object.
*/ */
public function blogger_getTemplate($args) { public function blogger_getTemplate($args) {
return new IXR_Error( 403, __('Sorry, that file cannot be edited.' ) ); return new IXR_Error( 403, __('Sorry, that file cannot be edited.' ) );
@ -4545,7 +4545,7 @@ class wp_xmlrpc_server extends IXR_Server {
* @deprecated 3.5.0 * @deprecated 3.5.0
* *
* @param array $args Unused. * @param array $args Unused.
* @return IXR_Error Error message. * @return IXR_Error Error object.
*/ */
public function blogger_setTemplate($args) { public function blogger_setTemplate($args) {
return new IXR_Error( 403, __('Sorry, that file cannot be edited.' ) ); return new IXR_Error( 403, __('Sorry, that file cannot be edited.' ) );
@ -6417,9 +6417,13 @@ class wp_xmlrpc_server extends IXR_Server {
} }
/** /**
* @param integer $code * Sends a pingback error based on the given error code and message.
* @param string $message *
* @return IXR_Error * @since 3.6.0
*
* @param int $code Error code.
* @param string $message Error message.
* @return IXR_Error Error object.
*/ */
protected function pingback_error( $code, $message ) { protected function pingback_error( $code, $message ) {
/** /**

View File

@ -4,7 +4,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '4.5-alpha-35963'; $wp_version = '4.5-alpha-35964';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.