From 18601e4b5a31286ac49a520f79ae482ad66487e5 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Mon, 25 Jul 2016 12:23:30 +0000 Subject: [PATCH] Docs: In `wp_schedule_single_event()`, add a note about scheduling an event to occur within 10 minutes of another event with the same action hook. Props medariox. Fixes #37455. Built from https://develop.svn.wordpress.org/trunk@38148 git-svn-id: http://core.svn.wordpress.org/trunk@38089 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/cron.php | 4 ++++ wp-includes/version.php | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/wp-includes/cron.php b/wp-includes/cron.php index 1778fbddc2..a4d160f70c 100644 --- a/wp-includes/cron.php +++ b/wp-includes/cron.php @@ -12,6 +12,10 @@ * a time which you specify. The action will fire off when someone visits your * WordPress site, if the schedule time has passed. * + * Note that scheduling an event to occur within 10 minutes of an existing event + * with the same action hook will be ignored, unless you pass unique `$args` values + * for each scheduled event. + * * @since 2.1.0 * @link https://codex.wordpress.org/Function_Reference/wp_schedule_single_event * diff --git a/wp-includes/version.php b/wp-includes/version.php index 6b4bf47c80..d812d1ef49 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.6-beta4-38147'; +$wp_version = '4.6-beta4-38148'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.