[wp-trac] [WordPress Trac] #24686: Introduce generic filter on transient return value

WordPress Trac noreply at wordpress.org
Thu Jul 4 16:53:46 UTC 2013


#24686: Introduce generic filter on transient return value
-------------------------+-----------------------------
 Reporter:  johnbillion  |      Owner:
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  Cache        |    Version:  2.8
 Severity:  normal       |   Keywords:
-------------------------+-----------------------------
 The `get_transient()` and `get_site_transient()` functions have a filter
 on their return value, but the filter name contains the transient key:
 `transient_{$transient}`.

 This means it's not possible to hook into the return value for ''every''
 transient in order to do something like logging transient hits and misses.

--
Ticket URL: <http://core.trac.wordpress.org/ticket/24686>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list