[wp-trac] [WordPress Trac] #53950: `wp_schedule_single_event()` may add incorrectly populate the cron array.

WordPress Trac noreply at wordpress.org
Mon Oct 18 13:30:03 UTC 2021


#53950: `wp_schedule_single_event()` may add incorrectly populate the cron array.
--------------------------------------+-----------------------------
 Reporter:  peterwilsoncc             |       Owner:  hellofromTonya
     Type:  defect (bug)              |      Status:  closed
 Priority:  normal                    |   Milestone:  5.9
Component:  Cron API                  |     Version:  5.2
 Severity:  normal                    |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+-----------------------------

Comment (by hellofromTonya):

 In [changeset:"51917" 51917]:
 {{{
 #!CommitTicketReference repository="" revision="51917"
 Cron: Remove errant `false` values in cron array when upgrading to 5.9+.

 [51916] fixed a bug where `array( `false` )` was added to the cron array
 when `_get_cron_array()` returned `false`.

 This commit:
 * Removes any `false` values from the cron array when upgrading to 5.9+.
 * Bumps the database version.

 Follow-up to [44917], [51916].

 Props peterwilsoncc, jrf.
 See #53950.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/53950#comment:13>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list