[wp-trac] [WordPress Trac] #10788: (set|delete)_transient need some filters
WordPress Trac
wp-trac at lists.automattic.com
Sun Nov 29 01:47:29 UTC 2009
#10788: (set|delete)_transient need some filters
--------------------------+-------------------------------------------------
Reporter: dd32 | Owner: ryan
Type: defect (bug) | Status: new
Priority: normal | Milestone: 2.9
Component: Cache | Version: 2.9
Severity: normal | Keywords: has-patch dev-feedback
--------------------------+-------------------------------------------------
Comment(by nacin):
Looks like the three transient functions could use a decent overhaul to
bring them in line with the Option API.
- Fix apparent issue with escaping in get_transient. (in a patch)
- Add pre_set_transient_* filter handling to bring it in line with the
filters available to options. (needs patch). Also copy over other hooks as
appropriate.
- Change pre_transient_* check from !==false to !==null (dev feedback as
could cause back compat issues)
That an accurate todo roundup?
--
Ticket URL: <http://core.trac.wordpress.org/ticket/10788#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list