mirror of
https://github.com/WordPress/WordPress.git
synced 2025-03-02 11:21:57 +01:00
Fill out inline documentation for the __call()
magic method added to the WP_Comment_Query
class in [28519].
See #22234 and #28885. Built from https://develop.svn.wordpress.org/trunk@29162 git-svn-id: http://core.svn.wordpress.org/trunk@28946 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
5f87736bc4
commit
c00e3d9a46
@ -224,9 +224,11 @@ class WP_Comment_Query {
|
||||
* 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