[wp-trac] [WordPress Trac] #64553: Add parameter to delete_expired_transients() for custom transients

WordPress Trac noreply at wordpress.org
Mon Jan 26 17:52:07 UTC 2026


#64553: Add parameter to delete_expired_transients() for custom transients
-----------------------------+------------------------------
 Reporter:  Guido07111975    |       Owner:  (none)
     Type:  feature request  |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  Database         |     Version:  6.9
 Severity:  normal           |  Resolution:
 Keywords:  has-patch        |     Focuses:
-----------------------------+------------------------------

Comment (by Guido07111975):

 Thanks! Shouldn't the timeout transient also support the custom name?


 {{{
 $wpdb->esc_like( '_transient_timeout_' ) . '%',
 $wpdb->esc_like( '_site_transient_timeout_' ) . '%',
 }}}

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


More information about the wp-trac mailing list