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

WordPress Trac noreply at wordpress.org
Thu Nov 27 05:46:41 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  |     Focuses:
-------------------------------------+--------------------------
Changes (by parthvataliya):

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


Comment:

 == Test Report
 === Description
 I have tested it, and it works as expected. There is no PHP warning
 displayed with this PR: [https://github.com/WordPress/wordpress-
 develop/pull/10561]

 Patch tested: https://patch-diff.githubusercontent.com/raw/WordPress
 /wordpress-develop/pull/10561.diff

 === Environment
 - WordPress: 6.9-RC3-61308-src
 - PHP: 8.2.26
 - Server: nginx/1.27.3
 - Database: mysqli (Server: 8.4.4 / Client: mysqlnd 8.2.26)
 - Browser: Chrome 140.0.0.0
 - OS: Linux
 - Theme: Twenty Twenty-Five 1.3
 - MU Plugins: None activated
 - Plugins:
   * Test Reports 1.2.1

 === Actual Results
 1.  ✅ Issue resolved with a patch.

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


More information about the wp-trac mailing list