[wp-trac] [WordPress Trac] #6646: I partially fixed your very broken cron system

WordPress Trac wp-trac at lists.automattic.com
Wed Apr 9 02:47:05 GMT 2008


#6646: I partially fixed your very broken cron system
----------------------------------+-----------------------------------------
 Reporter:  I_hate_Otto_Destruct  |       Owner:  anonymous
     Type:  defect                |      Status:  new      
 Priority:  high                  |   Milestone:           
Component:  General               |     Version:  2.5      
 Severity:  major                 |    Keywords:           
----------------------------------+-----------------------------------------
 Last time I reported a security flaw you all accused me of smoking crack,
 and then you patched my flaw.  So you do  not have the right to talk to
 me.  No,  i will not further elaborate on how broken your cron system is.
 DO NOT CONTACT ME.

 The reason why i am reporting this is because i burned my time on this
 stupid contract and i don't want another poor wordpress plugin developer
 to waste their time because of your trash. I see a ton of people
 complaining about your broken broken cron system that i felt bad for them,
 not you.

 The problem i had is as follows:
 i wrote a plugin that used wp_schedule_single_event();

 No matter what i did i couldn't get wp_schedule_single_event() to run my
 action,  no error message,  it just wouldn't fucking run.

 It turns out in my action i was calling wp_create_category().
 When i called wp-cron.php with my browser and i saw that i was getting an
 error saying that wp_create_category() cannot be found.
 How i fixed this bullshit was i added this line before my call to
 wp_create_category():

 if(!function_exists('wp_create_category')) {
     include_once('broken_include.php');
 }

 broken_include.php will be attached,  but it is just functions from :
 ABSPATH . 'wp-admin/includes/taxonomy.php'

 DO NOT CONTACT ME.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/6646>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list