[wp-trac] [WordPress Trac] #52572: About the wp_error parameter of the pre_reschedule_event filter
WordPress Trac
noreply at wordpress.org
Fri Feb 19 12:18:10 UTC 2021
#52572: About the wp_error parameter of the pre_reschedule_event filter
----------------------------------------+--------------------------
Reporter: tmatsuur | Owner: johnbillion
Type: defect (bug) | Status: accepted
Priority: normal | Milestone: 5.7
Component: Cron API | Version: trunk
Severity: normal | Resolution:
Keywords: needs-unit-tests has-patch | Focuses:
----------------------------------------+--------------------------
Comment (by SergeyBiryukov):
Thanks for the patch! The alignment of the `$wp_error` parameter in the
DocBlock should not be changed, though. It is aligned with the
[source:trunk/src/wp-includes/cron.php?rev=50175&marks=389,390,399#L377
$pre and $event] parameters above, not with the keys of the `$event`
array.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/52572#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list