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

WordPress Trac wp-trac at lists.automattic.com
Mon Nov 30 09:54:51 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
--------------------------+-------------------------------------------------

Comment(by dd32):

 > Since get_option has returned false since the beginning of time if the
 option doesn't exist or has no value, it doesn't make much sense to change
 that now and introduce backwards compatibility issues.

 Right now, Its impossible to return false of the option function set via
 the pre_option_* filter, thats what i originally meant. Never intended for
 it to change the way it operated in returning false.

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


More information about the wp-trac mailing list