From cd0417acdf8bd5e88e47f052f0f12c85f8eabaca Mon Sep 17 00:00:00 2001 From: Caleb Stauffer <develop+github@calebstauffer.com> Date: Fri, 10 Nov 2023 22:32:17 -0500 Subject: [PATCH] add 'weekly' value to function description --- src/wp-includes/cron.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-includes/cron.php b/src/wp-includes/cron.php index 4912d5f5035c8..b2182450efc83 100644 --- a/src/wp-includes/cron.php +++ b/src/wp-includes/cron.php @@ -206,7 +206,7 @@ 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 + * Valid values for the recurrence are 'hourly', 'daily', 'twicedaily', and 'weekly'. These can * be extended using the {@see 'cron_schedules'} filter in wp_get_schedules(). * * Use wp_next_scheduled() to prevent duplicate events.