[wp-trac] [WordPress Trac] #14668: Check for scheduled event to prevent duplicates
WordPress Trac
wp-trac at lists.automattic.com
Wed Sep 8 19:54:15 UTC 2010
#14668: Check for scheduled event to prevent duplicates
--------------------------+-------------------------------------------------
Reporter: markparolisi | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.1
Component: Cron | Version: 3.0.1
Severity: normal | Keywords: has-patch needs-testing
--------------------------+-------------------------------------------------
Comment(by scribu):
jgadbois, that won't work, since $timestamp will be different most of the
time.
The correct way is to use wp_next_scheduled(). See 14668.2.diff
--
Ticket URL: <http://core.trac.wordpress.org/ticket/14668#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list