[wp-trac] [WordPress Trac] #64157: Introduce constant or filter to prevent wp-cron.php triggering cron jobs.

WordPress Trac noreply at wordpress.org
Wed Oct 29 23:14:19 UTC 2025


#64157: Introduce constant or filter to prevent wp-cron.php triggering cron jobs.
---------------------------+-----------------------------
 Reporter:  peterwilsoncc  |       Owner:  (none)
     Type:  enhancement    |      Status:  new
 Priority:  normal         |   Milestone:  Future Release
Component:  Cron API       |     Version:
 Severity:  normal         |  Resolution:
 Keywords:  needs-patch    |     Focuses:  performance
---------------------------+-----------------------------

Comment (by johnbillion):

 I think we should keep this ticket focused. I'd also like to see more
 verbose output from wp-cron.php but that should happen in a separate
 ticket.

 One complication is that the call to
 `fastcgi_finish_request()`/`litespeed_finish_request()` that runs prior to
 wp-load.php being loaded, and therefore prior to when a new constant or
 filter value can be checked. This means outputting a 403 etc won't be
 possible without jiggling some of that logic around.

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


More information about the wp-trac mailing list