[wp-trac] Re: [WordPress Trac] #5364: Cron not updated correctly
when deleting a future post
WordPress Trac
wp-trac at lists.automattic.com
Mon May 11 21:56:39 GMT 2009
#5364: Cron not updated correctly when deleting a future post
--------------------------+-------------------------------------------------
Reporter: develish | Owner: anonymous
Type: defect (bug) | Status: new
Priority: low | Milestone: 2.8
Component: Optimization | Version: 2.3.1
Severity: minor | Keywords: has-patch commit
--------------------------+-------------------------------------------------
Comment(by Denis-de-Bernardy):
on a separate note, it may be worth tweaking the cron a little bit so as
to check for something like:
if args is numeric, and floatval() = intval() then cast to int.
that way, the stuff can be passed (string) $post_id etc, and it'll still
work.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/5364#comment:11>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list