[wp-trac] [WordPress Trac] #24686: Introduce generic filter on transient return value
WordPress Trac
noreply at wordpress.org
Wed Jan 25 14:24:40 UTC 2017
#24686: Introduce generic filter on transient return value
-------------------------------------------------+-------------------------
Reporter: johnbillion | Owner:
Type: enhancement | Status: reopened
Priority: normal | Milestone: Awaiting
Component: Cache API | Review
Severity: normal | Version: 2.8
Keywords: has-patch 2nd-opinion dev-feedback | Resolution:
has-unit-tests | Focuses:
-------------------------------------------------+-------------------------
Comment (by adamsilverstein):
[attachment:24686.2.diff] adds a matching filter for get_site_transient
[attachment:24686.3.diff] is an alternate version which fires actions
before the transients are returned.
Offering `do_action` as an alternative based on the IRC discussion:
http://irclogs.wordpress.org/chanlog.php?channel=wordpress-
dev&day=2013-09-17&sort=asc#m689641
--
Ticket URL: <https://core.trac.wordpress.org/ticket/24686#comment:13>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list