summaryrefslogtreecommitdiffstats
path: root/wp-includes/cron.php
diff options
context:
space:
mode:
Diffstat (limited to 'wp-includes/cron.php')
-rw-r--r--wp-includes/cron.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/wp-includes/cron.php b/wp-includes/cron.php
index 4912d5f..aadc22b 100644
--- a/wp-includes/cron.php
+++ b/wp-includes/cron.php
@@ -206,8 +206,8 @@ function wp_schedule_single_event( $timestamp, $hook, $args = array(), $wp_error
* The action will trigger when someone visits your WordPress site if the scheduled
* time has passed.
*
- * Valid values for the recurrence are 'hourly', 'daily', and 'twicedaily'. These can
- * be extended using the {@see 'cron_schedules'} filter in wp_get_schedules().
+ * Valid values for the recurrence are 'hourly', 'twicedaily', 'daily', and 'weekly'.
+ * These can be extended using the {@see 'cron_schedules'} filter in wp_get_schedules().
*
* Use wp_next_scheduled() to prevent duplicate events.
*
@@ -874,7 +874,7 @@ function spawn_cron( $gmt_time = 0 ) {
return false;
}
- // Sanity check.
+ // Confidence check.
$crons = wp_get_ready_cron_jobs();
if ( empty( $crons ) ) {
return false;