From ad09174df2ef4ea0477511057bf4d841fb2bfb69 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Mon, 25 Jul 2016 12:22:21 +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. git-svn-id: https://develop.svn.wordpress.org/trunk@38148 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/cron.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/wp-includes/cron.php b/src/wp-includes/cron.php index 1778fbddc2..a4d160f70c 100644 --- a/src/wp-includes/cron.php +++ b/src/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 *