[wp-trac] [WordPress Trac] #58470: Add configurable batching to `wp_scheduled_delete` for controlling cleanup operations

WordPress Trac noreply at wordpress.org
Wed Jun 7 14:17:18 UTC 2023


#58470: Add configurable batching to `wp_scheduled_delete` for controlling cleanup
operations
-------------------------+------------------------------
 Reporter:  johnrom      |       Owner:  (none)
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Cron API     |     Version:  trunk
 Severity:  normal       |  Resolution:
 Keywords:               |     Focuses:  performance
-------------------------+------------------------------

Comment (by johnrom):

 I agree a filter is better, but I suggested a constant since there is
 already precedent for configuring this area with a constant.

 It seems a little odd to filter on something so generic rather than to use
 a filter which expresses intent like `wp_scheduled_delete_schedule`, but
 as long as it's possible I can live with it.

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


More information about the wp-trac mailing list