[wp-trac] [WordPress Trac] #64553: Add parameter to delete_expired_transients() for custom transients
WordPress Trac
noreply at wordpress.org
Fri Jan 30 17:10:36 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 needs-unit-tests | Focuses:
----------------------------------------+------------------------------
Comment (by solankisoftware):
PR opened: https://github.com/WordPress/wordpress-develop/pull/10830
The PR updates `delete_expired_transients()` to support scoped cleanup
via a `$prefix` parameter and clarifies behavior with external object
cache.
Unit tests will be added next.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/64553#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list