[wp-trac] [WordPress Trac] #53940: Reconsider return types for `_get_cron_array()`.

WordPress Trac noreply at wordpress.org
Thu Jul 28 12:49:54 UTC 2022

#53940: Reconsider return types for `_get_cron_array()`.
 Reporter:  peterwilsoncc                        |       Owner:  (none)
     Type:  enhancement                          |      Status:  new
 Priority:  normal                               |   Milestone:  6.1
Component:  Cron API                             |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  needs-unit-tests good-first-bug      |     Focuses:
  has-patch                                      |
Changes (by thakkarhardik):

 * keywords:  needs-patch needs-unit-tests good-first-bug => needs-unit-
     tests good-first-bug has-patch


 Hi @peterwilsoncc, I've added a patch which will always return {{{array}}}
 instead of {{{false}}} on failure from {{{_get_cron_array()}}}.

Ticket URL: <https://core.trac.wordpress.org/ticket/53940#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform

More information about the wp-trac mailing list