Fill out inline documentation for the __call()
magic method added to the WP_Roles
class in [28503].
See #22234 and #28885. git-svn-id: https://develop.svn.wordpress.org/trunk@29153 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
f77584ea2c
commit
34edad1645
@ -82,12 +82,14 @@ class WP_Roles {
|
||||
}
|
||||
|
||||
/**
|
||||
* Make private/protected methods readable for backwards compatibility
|
||||
* Make private/protected methods readable for backwards compatibility.
|
||||
*
|
||||
* @since 4.0.0
|
||||
* @param string $name
|
||||
* @param array $arguments
|
||||
* @return mixed
|
||||
* @access public
|
||||
*
|
||||
* @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 ) {
|
||||
return call_user_func_array( array( $this, $name ), $arguments );
|
||||
|
Loading…
Reference in New Issue
Block a user