[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 21:53:32 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 peterwilsoncc):

 I haven't thought too much about implementation details.

 At the very least I think we'd need an HTTP header to indicating the cron
 jobs are bypassed. As [https://wordpress.org/plugins/batcache/ batcache]
 (the most popular full page caching drop-in) doesn't cache empty pages,
 we'd probably want some output to signal the page can be cached.

 Response codes and messaging can be figured out if it's decided this is
 appropriate to add to WP Core.

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


More information about the wp-trac mailing list