[wp-trac] [WordPress Trac] #64315: Running `_wp_cron()` on shutdown breaks `ALTERNATE_WP_CRON`

WordPress Trac noreply at wordpress.org
Mon Dec 1 14:17:42 UTC 2025


#64315: Running `_wp_cron()` on shutdown breaks `ALTERNATE_WP_CRON`
-------------------------------------------------+-------------------------
 Reporter:  karl94                               |       Owner:
                                                 |  westonruter
     Type:  defect (bug)                         |      Status:  closed
 Priority:  normal                               |   Milestone:  6.9
Component:  Cron API                             |     Version:  trunk
 Severity:  major                                |  Resolution:  fixed
 Keywords:  has-patch has-test-info fixed-major  |     Focuses:
  dev-feedback                                   |
-------------------------------------------------+-------------------------
Changes (by SergeyBiryukov):

 * status:  reopened => closed
 * resolution:   => fixed


Comment:

 In [changeset:"61332" 61332]:
 {{{
 #!CommitTicketReference repository="" revision="61332"
 Cron API: Restore spawning cron at `wp_loaded` when using alternate WP
 Cron (`ALTERNATE_WP_CRON`).

 Developed in [https://github.com/WordPress/wordpress-develop/pull/10561
 #10561 Restore prior wp_cron() logic when ALTERNATE_WP_CRON is enabled].

 Follow-up to [60925].

 Reviewed by westonruter, SergeyBiryukov.
 Merges [61313] to the 6.9 branch.

 Props karl94, peterwilsoncc, parthvataliya, johnbillion, westonruter.
 See #63858.
 Fixes #64315.
 }}}

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


More information about the wp-trac mailing list