diff --git a/wp-includes/query.php b/wp-includes/query.php index 971e75ffcb..f76be29f45 100644 --- a/wp-includes/query.php +++ b/wp-includes/query.php @@ -3932,45 +3932,52 @@ class WP_Query { } /** - * Make private properties readable for backwards compatibility + * Make private properties readable for backwards compatibility. * * @since 4.0.0 - * @param string $name - * @return mixed + * @access public + * + * @param string $name Property to get + * @return mixed Property. */ public function __get( $name ) { return $this->$name; } /** - * Make private properties setable for backwards compatibility + * Make private properties setable for backwards compatibility. * * @since 4.0.0 - * @param string $name - * @return mixed + * @access public + * + * @param string $name Property to check if set. + * @return bool Whether the property is set. */ public function __isset( $name ) { return isset( $this->$name ); } /** - * Make private properties setable for backwards compatibility + * Make private properties setable for backwards compatibility. * * @since 4.0.0 - * @param string $name - * @return mixed + * @access public + * + * @param string $name Property to unset. */ public function __unset( $name ) { unset( $this->$name ); } /** - * 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, otherwise false. */ public function __call( $name, $arguments ) { return call_user_func_array( array( $this, $name ), $arguments );