[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 17:54:54 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:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+--------------------------
Changes (by johnbillion):

 * keywords:  needs-unit-tests has-patch => has-patch has-unit-tests


Comment:

 [attachment:"52572.3.diff"] updates the existing tests to add assertions
 for the value of the `$wp_error` parameter that's passed to the filters.

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


More information about the wp-trac mailing list