[wp-trac] [WordPress Trac] #10788: Standardize hooks across the transient and options APIs

WordPress Trac wp-trac at lists.automattic.com
Sun Feb 14 10:44:53 UTC 2010


#10788: Standardize hooks across the transient and options APIs
-------------------------+--------------------------------------------------
 Reporter:  dd32         |       Owner:  westi    
     Type:  enhancement  |      Status:  new      
 Priority:  normal       |   Milestone:  3.0      
Component:  Plugins      |     Version:  2.9      
 Severity:  normal       |    Keywords:  has-patch
-------------------------+--------------------------------------------------

Comment(by nacin):

 There's still some quirkiness in add_site_option and update_site_option
 related to serialized data being passed as an option value to a hook.

 In add_site_option(), it's consistently serialized. add_option() has the
 same issue. Not ideal, but better than update_site_option(), which will
 receive serialized data if multisite, but unserialized data if not.

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


More information about the wp-trac mailing list