Make WordPress Core

Changeset 30701


Ignore:
Timestamp:
12/02/2014 03:34:13 AM (10 years ago)
Author:
johnbillion
Message:

Revert r30115 which was a breaking change for code which interacts with the return value of get_metadata() when no meta key is specified.

See #15030

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/meta.php

    r30674 r30701  
    494494
    495495    if ( ! $meta_key ) {
    496         foreach ( $meta_cache as &$meta_values ) {
    497             $meta_values = array_map( 'maybe_unserialize', $meta_values );
    498         }
    499 
    500496        return $meta_cache;
    501497    }
Note: See TracChangeset for help on using the changeset viewer.