[wp-trac] [WordPress Trac] #10788: (set|delete)_transient need some filters

WordPress Trac wp-trac at lists.automattic.com
Sun Nov 29 01:02:08 UTC 2009


#10788: (set|delete)_transient need some filters
--------------------------+-------------------------------------------------
 Reporter:  dd32          |       Owner:                        
     Type:  defect (bug)  |      Status:  new                   
 Priority:  normal        |   Milestone:  2.9                   
Component:  General       |     Version:  2.9                   
 Severity:  normal        |    Keywords:  has-patch dev-feedback
--------------------------+-------------------------------------------------
Changes (by dd32):

  * version:  => 2.9


Comment:

 My comments on this:
  * in my opinion, Transients filters should match the useable filter set
 of options. Options may have old ilters for back compat still which would
 be pointless for the transients..
  * I think it'd be useful to be able to return false on the filters and
 have it handled properly. A prime example is that i mean "This value has
 expired" even if it exists in the cache. At present, Thats not possible.
   * It will break some plugins to change this, I'm not aware of what
 plugins would be using it however.

 Can we get some dev-feedback on this? Is this a 3.0 set? or can we get a
 fleshed out hook set for 2.9? (even if that just means the addition of
 filters, given esc_sql() is mentioned in that patch)

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/10788#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list