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

WordPress Trac noreply at wordpress.org
Thu Nov 27 11:43:33 UTC 2025


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

 * keywords:  has-patch has-test-info => has-patch has-test-info commit


Comment:

 Tested locally by enabling `ALTERNATE_WP_CRON`, scheduling a cron event to
 run a few moments later, and confirming that the redirect to the
 `doing_wp_cron` URL correctly occurs without the "headers already sent"
 warning.

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


More information about the wp-trac mailing list