WordPress.org

Make WordPress Core

Ticket #15030: 15030.diff

File 15030.diff, 366 bytes (added by nacin, 4 years ago)

Patches get_metadata()

  • wp-includes/meta.php

     
    235235        } 
    236236 
    237237        if ( ! $meta_key ) 
    238                 return $meta_cache; 
     238                return array_map( 'maybe_unserialize', $meta_cache ); 
    239239 
    240240        if ( isset($meta_cache[$meta_key]) ) { 
    241241                if ( $single )