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:
parent
7614bd71d3
commit
25eca6974e
|
@ -4532,7 +4532,7 @@ class wp_xmlrpc_server extends IXR_Server {
|
|||
* @deprecated 3.5.0
|
||||
*
|
||||
* @param array $args Unused.
|
||||
* @return IXR_Error Error message.
|
||||
* @return IXR_Error Error object.
|
||||
*/
|
||||
public function blogger_getTemplate($args) {
|
||||
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
|
||||
*
|
||||
* @param array $args Unused.
|
||||
* @return IXR_Error Error message.
|
||||
* @return IXR_Error Error object.
|
||||
*/
|
||||
public function blogger_setTemplate($args) {
|
||||
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
|
||||
* @param string $message
|
||||
* @return IXR_Error
|
||||
* Sends a pingback error based on the given error code and message.
|
||||
*
|
||||
* @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 ) {
|
||||
/**
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* @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.
|
||||
|
|
Loading…
Reference in New Issue