mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-22 17:18:32 +01:00
Add a proper return description for the wp_xmlrpc_server->addTwoNumbers()
method.
See [30181]. See #30224. Built from https://develop.svn.wordpress.org/trunk@32557 git-svn-id: http://core.svn.wordpress.org/trunk@32527 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
7a93dda2d2
commit
ed0421e7de
@ -188,7 +188,7 @@ class wp_xmlrpc_server extends IXR_Server {
|
||||
*
|
||||
* @since 1.5.0
|
||||
*
|
||||
* @return string
|
||||
* @return string Hello string response.
|
||||
*/
|
||||
public function sayHello() {
|
||||
return 'Hello!';
|
||||
@ -202,10 +202,10 @@ class wp_xmlrpc_server extends IXR_Server {
|
||||
* @param array $args {
|
||||
* Method parameters.
|
||||
*
|
||||
* @type int $number1 A number to add.
|
||||
* @type int $number2 A second number to add.
|
||||
* @type int $number1 A number to add.
|
||||
* @type int $number2 A second number to add.
|
||||
* }
|
||||
* @return int
|
||||
* @return int Sum of the two given numbers.
|
||||
*/
|
||||
public function addTwoNumbers( $args ) {
|
||||
$number1 = $args[0];
|
||||
|
@ -4,7 +4,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.3-alpha-32556';
|
||||
$wp_version = '4.3-alpha-32557';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
Loading…
Reference in New Issue
Block a user