WordPress.org

Make WordPress Core

Changeset 10519 for trunk/wp-cron.php


Ignore:
Timestamp:
02/06/2009 10:25:35 PM (11 years ago)
Author:
ryan
Message:

Use transient for doing_cron. see #9048

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-cron.php

    r10472 r10519  
    2727
    2828if (!is_array($crons) || $keys[0] > $local_time) {
    29     update_option('doing_cron', 0);
     29    set_transient('doing_cron', 0);
    3030    return;
    3131}
     
    5454}
    5555
    56 update_option('doing_cron', 0);
     56set_transient('doing_cron', 0);
    5757
    5858die();
Note: See TracChangeset for help on using the changeset viewer.