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

WordPress Trac wp-trac at lists.automattic.com
Sat Nov 28 08:54:16 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:                        
 Severity:  normal        |    Keywords:  has-patch dev-feedback
--------------------------+-------------------------------------------------

Comment(by nacin):

 Looking at this further, it looks like in get_transient() there are
 instances of an SQL-escaped option name being passed to delete_option,
 when only get_option wants SQL-escaped option names. Second patch
 addresses this.

 The handling of the safe transient looks good in set_transient().

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


More information about the wp-trac mailing list