~canonical-sysadmins/wordpress/4.2.4

« back to all changes in this revision

Viewing changes to wp-cron.php

  • Committer: Paul Gear
  • Date: 2015-04-24 01:35:20 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: paul.gear@canonical.com-20150424013520-w4p9ksth76zh6opw
Merge new upstream release 4.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
        require_once( dirname( __FILE__ ) . '/wp-load.php' );
27
27
}
28
28
 
29
 
// Uncached doing_cron transient fetch
 
29
/**
 
30
 * Retrieves the cron lock.
 
31
 *
 
32
 * Returns the uncached `doing_cron` transient.
 
33
 *
 
34
 * @ignore
 
35
 * @since 3.3.0
 
36
 *
 
37
 * @return string|false Value of the `doing_cron` transient, 0|false otherwise.
 
38
 */
30
39
function _get_cron_lock() {
31
40
        global $wpdb;
32
41
 
94
103
                        /**
95
104
                         * Fires scheduled events.
96
105
                         *
97
 
                         * @internal
 
106
                         * @ignore
98
107
                         * @since 2.1.0
99
108
                         *
100
109
                         * @param string $hook Name of the hook that was scheduled to be fired.