Docs: Correct parameter type documentation for various `__call()` methods.
See #42505 Built from https://develop.svn.wordpress.org/trunk@42151 git-svn-id: http://core.svn.wordpress.org/trunk@41982 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
6c6d112e74
commit
67c973f95e
|
@ -215,7 +215,7 @@ class WP_List_Table {
|
||||||
*
|
*
|
||||||
* @since 4.0.0
|
* @since 4.0.0
|
||||||
*
|
*
|
||||||
* @param callable $name Method to call.
|
* @param string $name Method to call.
|
||||||
* @param array $arguments Arguments to pass when calling.
|
* @param array $arguments Arguments to pass when calling.
|
||||||
* @return mixed|bool Return value of the callback, false otherwise.
|
* @return mixed|bool Return value of the callback, false otherwise.
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -229,7 +229,7 @@ class WP_oEmbed {
|
||||||
*
|
*
|
||||||
* @since 4.0.0
|
* @since 4.0.0
|
||||||
*
|
*
|
||||||
* @param callable $name Method to call.
|
* @param string $name Method to call.
|
||||||
* @param array $arguments Arguments to pass when calling.
|
* @param array $arguments Arguments to pass when calling.
|
||||||
* @return mixed|bool Return value of the callback, false otherwise.
|
* @return mixed|bool Return value of the callback, false otherwise.
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -118,7 +118,7 @@ class WP_Comment_Query {
|
||||||
*
|
*
|
||||||
* @since 4.0.0
|
* @since 4.0.0
|
||||||
*
|
*
|
||||||
* @param callable $name Method to call.
|
* @param string $name Method to call.
|
||||||
* @param array $arguments Arguments to pass when calling.
|
* @param array $arguments Arguments to pass when calling.
|
||||||
* @return mixed|false Return value of the callback, false otherwise.
|
* @return mixed|false Return value of the callback, false otherwise.
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -3362,7 +3362,7 @@ class WP_Query {
|
||||||
*
|
*
|
||||||
* @since 4.0.0
|
* @since 4.0.0
|
||||||
*
|
*
|
||||||
* @param callable $name Method to call.
|
* @param string $name Method to call.
|
||||||
* @param array $arguments Arguments to pass when calling.
|
* @param array $arguments Arguments to pass when calling.
|
||||||
* @return mixed|false Return value of the callback, false otherwise.
|
* @return mixed|false Return value of the callback, false otherwise.
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -95,7 +95,7 @@ class WP_Roles {
|
||||||
*
|
*
|
||||||
* @since 4.0.0
|
* @since 4.0.0
|
||||||
*
|
*
|
||||||
* @param callable $name Method to call.
|
* @param string $name Method to call.
|
||||||
* @param array $arguments Arguments to pass when calling.
|
* @param array $arguments Arguments to pass when calling.
|
||||||
* @return mixed|false Return value of the callback, false otherwise.
|
* @return mixed|false Return value of the callback, false otherwise.
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -847,7 +847,7 @@ class WP_User_Query {
|
||||||
*
|
*
|
||||||
* @since 4.0.0
|
* @since 4.0.0
|
||||||
*
|
*
|
||||||
* @param callable $name Method to call.
|
* @param string $name Method to call.
|
||||||
* @param array $arguments Arguments to pass when calling.
|
* @param array $arguments Arguments to pass when calling.
|
||||||
* @return mixed Return value of the callback, false otherwise.
|
* @return mixed Return value of the callback, false otherwise.
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -421,7 +421,7 @@ class WP_User {
|
||||||
*
|
*
|
||||||
* @since 4.3.0
|
* @since 4.3.0
|
||||||
*
|
*
|
||||||
* @param callable $name Method to call.
|
* @param string $name Method to call.
|
||||||
* @param array $arguments Arguments to pass when calling.
|
* @param array $arguments Arguments to pass when calling.
|
||||||
* @return mixed|false Return value of the callback, false otherwise.
|
* @return mixed|false Return value of the callback, false otherwise.
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -171,7 +171,7 @@ class wp_xmlrpc_server extends IXR_Server {
|
||||||
*
|
*
|
||||||
* @since 4.0.0
|
* @since 4.0.0
|
||||||
*
|
*
|
||||||
* @param callable $name Method to call.
|
* @param string $name Method to call.
|
||||||
* @param array $arguments Arguments to pass when calling.
|
* @param array $arguments Arguments to pass when calling.
|
||||||
* @return array|IXR_Error|false Return value of the callback, false otherwise.
|
* @return array|IXR_Error|false Return value of the callback, false otherwise.
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '5.0-alpha-42150';
|
$wp_version = '5.0-alpha-42151';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue