Make WordPress Core

Ticket #3160: patch.diff

File patch.diff, 372 bytes (added by alexkingorg, 18 years ago)

patch

  • wp/wp-includes/cron.php

     
    102102                return;
    103103
    104104        $keys = array_keys( $crons );
    105         if ( $keys[0] > time() )
     105        if ( isset($keys[0]) && $keys[0] > time() )
    106106                return;
    107107
    108108        $schedules = wp_get_schedules();