[wp-trac] [WordPress Trac] #15148: Cron Storage Abstraction
WordPress Trac
wp-trac at lists.automattic.com
Tue Oct 19 14:46:45 UTC 2010
#15148: Cron Storage Abstraction
-------------------------+--------------------------------------------------
Reporter: ryan | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Cron | Version:
Severity: normal | Keywords:
-------------------------+--------------------------------------------------
Comment(by ryan):
Moved to WP_Cron_Store class that can be inherited by a custom class or
overridden. It is loaded in the same fashion as wpdb. I started by using
a custom class filter as is done with the xmlrpc server class and other
classes, but core WP (and thus probably many plugins) was calling cron
functions prior to init. I moved the core places that were doing this into
a function hooked onto init. If we are willing to suffer a back compat
hit, we could move to the class filter approach which has the advantage of
not requiring files living directly in wp-content that aren't part of auto
updates.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/15148#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list