[wp-trac] Re: [WordPress Trac] #6646: I partially fixed your very
broken cron system
WordPress Trac
wp-trac at lists.automattic.com
Wed Apr 9 03:09:22 GMT 2008
#6646: I partially fixed your very broken cron system
--------------------------------------------------------------+-------------
Reporter: I_hate_Otto_Destruct | Owner: anonymous
Type: defect | Status: new
Priority: normal | Milestone: 2.6
Component: General | Version: 2.5
Severity: normal | Resolution:
Keywords: has-patch needs-testing dev-feedback 2nd-opinion |
--------------------------------------------------------------+-------------
Changes (by DD32):
* keywords: => has-patch needs-testing dev-feedback 2nd-opinion
* priority: high => normal
* severity: major => normal
* milestone: => 2.6
Comment:
Ok, So a more sane way of saying this:
Certain admin-related functions are not included into wordpress during
Cron events.
Given that Cron events are often Admin-related it makes sense that such
functions may be needed. Post insert/update functions are defined in the
wp-includes as they are often used outside of the admin interface.
Category creation however rarely takes place outside of the admin.
One solution:[[BR]]
* Get rid of wp-admin/includes/ and merge it all back into /wp-includes/
- which doesnt make much sense, as the files are rarely needed.
* Include the Admin includes on cron events (Patch attached)
I've not had a chance to test this patch, as i do not have any cron-
related plugins available.
--
Ticket URL: <http://trac.wordpress.org/ticket/6646#comment:1>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list