[wp-trac] [WordPress Trac] #25266: wp_unschedule_event should apply filter to changes
WordPress Trac
noreply at wordpress.org
Mon Nov 23 23:20:01 UTC 2020
#25266: wp_unschedule_event should apply filter to changes
-------------------------+------------------------
Reporter: _ck_ | Owner: chriscct7
Type: enhancement | Status: closed
Priority: normal | Milestone:
Component: Cron API | Version:
Severity: normal | Resolution: wontfix
Keywords: has-patch | Focuses:
-------------------------+------------------------
Changes (by peterwilsoncc):
* status: reviewing => closed
* resolution: => wontfix
* milestone: Awaiting Review =>
Comment:
Replying to [comment:7 peterwilsoncc]:
> This is now possible with the changes introduced in WordPress 5.1,
please refer to the [https://make.wordpress.org/core/2019/01/23/cron-api-
changes-in-wordpress-5-1/ dev note on the Make WordPress Core P2].
Closing this off given the filters introduced in WP 5.1 making it
possible.
It may have changed in the years since this ticket was opened but
`update_option()` does not update the database if the option is unchanged
and the cron functions now provide meaningful return values.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/25266#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list