[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 15:11:42 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 sc0ttkclark):

 Wait a second... @nacin - you may be wrong here - this is what's happening
 below my code in:

 {{{
         if ( isset($meta_cache[$meta_key]) ) {
                 if ( $single )
                         return maybe_unserialize(
 $meta_cache[$meta_key][0] );
                 else
                         return array_map('maybe_unserialize',
 $meta_cache[$meta_key]);
         }
 }}}

 So why remove my use of maybe_unserialize?

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


More information about the wp-trac mailing list