Docs: Include 'weekly' as a valid value in wp_schedule_event() description.

Follow-up to [47062].

Props crstauf, pacicio.
Fixes #59888.
Built from https://develop.svn.wordpress.org/trunk@57106


git-svn-id: http://core.svn.wordpress.org/trunk@56617 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2023-11-11 09:28:30 +00:00
parent 7a0036e448
commit 5896701b31
2 changed files with 3 additions and 3 deletions

View File

@ -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 * The action will trigger when someone visits your WordPress site if the scheduled
* time has passed. * time has passed.
* *
* Valid values for the recurrence are 'hourly', 'daily', and 'twicedaily'. These can * Valid values for the recurrence are 'hourly', 'twicedaily', 'daily', and 'weekly'.
* be extended using the {@see 'cron_schedules'} filter in wp_get_schedules(). * These can be extended using the {@see 'cron_schedules'} filter in wp_get_schedules().
* *
* Use wp_next_scheduled() to prevent duplicate events. * Use wp_next_scheduled() to prevent duplicate events.
* *

View File

@ -16,7 +16,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '6.5-alpha-57105'; $wp_version = '6.5-alpha-57106';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.