[wp-trac] [WordPress Trac] #14766: New Hooks for add / update / delete / get metadata in 3.1

WordPress Trac wp-trac at lists.automattic.com
Wed Oct 27 16:09:14 UTC 2010


#14766: New Hooks for add / update / delete / get metadata in 3.1
----------------------------+-----------------------------------------------
 Reporter:  sc0ttkclark     |        Owner:  markjaquith
     Type:  task (blessed)  |       Status:  reopened   
 Priority:  normal          |    Milestone:  3.1        
Component:  Plugins         |      Version:  3.0.1      
 Severity:  normal          |   Resolution:             
 Keywords:  has-patch       |  
----------------------------+-----------------------------------------------

Comment(by scribu):

 We have to be consistent. So either:

 apply maybe_serialize() to $meta_value before calling the filter in
 add_metadata() and update_metadata()

 OR

 remove maybe_unserialize() from get_metadata().

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


More information about the wp-trac mailing list