Skip to content

Commit ab52706

Browse files
committed
Cron API: Correct the documented type and value of the $doing_wp_cron variable.
See #63166 git-svn-id: https://develop.svn.wordpress.org/trunk@60653 602fd350-edb4-49c9-b593-d223f7449a82
1 parent 6d26f58 commit ab52706

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/wp-includes/cron.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -940,7 +940,7 @@ function spawn_cron( $gmt_time = 0 ) {
940940
* An array of cron request URL arguments.
941941
*
942942
* @type string $url The cron request URL.
943-
* @type int $key The 22 digit GMT microtime.
943+
* @type string $key The Unix timestamp (UTC) of the cron lock with microseconds.
944944
* @type array $args {
945945
* An array of cron request arguments.
946946
*
@@ -949,7 +949,7 @@ function spawn_cron( $gmt_time = 0 ) {
949949
* @type bool $sslverify Whether SSL should be verified for the request. Default false.
950950
* }
951951
* }
952-
* @param string $doing_wp_cron The Unix timestamp (UTC) of the cron lock.
952+
* @param string $doing_wp_cron The Unix timestamp (UTC) of the cron lock with microseconds.
953953
*/
954954
$cron_request = apply_filters(
955955
'cron_request',

0 commit comments

Comments
 (0)