Make WordPress Core

Ticket #2425: typo.diff

File typo.diff, 380 bytes (added by masquerade, 19 years ago)
  • wp-includes/cron.php

     
    4949}
    5050
    5151function wp_clear_scheduled_hook($hook) {
    52         while($timestamp = next_scheduled($hook))
     52        while($timestamp = wp_next_scheduled($hook))
    5353                wp_unschedule_event($timestamp, $hook);
    5454}