Docs: Add a `@since` note to `wp_clear_scheduled_hook()` for the `$wp_error` parameter.
Follow-up to [50143]. See #49961. Built from https://develop.svn.wordpress.org/trunk@50174 git-svn-id: http://core.svn.wordpress.org/trunk@49853 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
286dd01212
commit
a47580b247
|
@ -529,6 +529,7 @@ function wp_unschedule_event( $timestamp, $hook, $args = array(), $wp_error = fa
|
||||||
* @since 2.1.0
|
* @since 2.1.0
|
||||||
* @since 5.1.0 Return value modified to indicate success or failure,
|
* @since 5.1.0 Return value modified to indicate success or failure,
|
||||||
* {@see 'pre_clear_scheduled_hook'} filter added to short-circuit the function.
|
* {@see 'pre_clear_scheduled_hook'} filter added to short-circuit the function.
|
||||||
|
* @since 5.7.0 The `$wp_error` parameter was added.
|
||||||
*
|
*
|
||||||
* @param string $hook Action hook, the execution of which will be unscheduled.
|
* @param string $hook Action hook, the execution of which will be unscheduled.
|
||||||
* @param array $args Optional. Array containing each separate argument to pass to the hook's callback function.
|
* @param array $args Optional. Array containing each separate argument to pass to the hook's callback function.
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '5.7-beta1-50172';
|
$wp_version = '5.7-beta1-50174';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 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