Fill out inline documentation for the `__call()` magic method added to the `wp_xmlrpc_server` class in [28515].

See #22234 and #28885.

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


git-svn-id: http://core.svn.wordpress.org/trunk@28945 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Drew Jaynes 2014-07-14 00:46:15 +00:00
parent a20e839eaf
commit 5f87736bc4
1 changed files with 5 additions and 3 deletions

View File

@ -145,9 +145,11 @@ class wp_xmlrpc_server extends IXR_Server {
* Make private/protected methods readable for backwards compatibility * Make private/protected methods readable for backwards compatibility
* *
* @since 4.0.0 * @since 4.0.0
* @param string $name * @access public
* @param array $arguments *
* @return mixed * @param callable $name Method to call.
* @param array $arguments Arguments to pass when calling.
* @return mixed|bool Return value of the callback, false otherwise.
*/ */
public function __call( $name, $arguments ) { public function __call( $name, $arguments ) {
return call_user_func_array( array( $this, $name ), $arguments ); return call_user_func_array( array( $this, $name ), $arguments );