diff --git a/wp-includes/capabilities.php b/wp-includes/capabilities.php index 42ec2f1fcf..ae885f6fa0 100644 --- a/wp-includes/capabilities.php +++ b/wp-includes/capabilities.php @@ -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 );