WordPress.org

Make WordPress Core


Ignore:
Timestamp:
02/23/2010 09:15:47 AM (10 years ago)
Author:
nacin
Message:

Ensure we're back compat with return values and actions in deprecated *_usermeta() family. See #10837

File:
1 edited

Legend:

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

    r12859 r13326  
    207207
    208208    if ( isset($meta_cache[$meta_key]) ) {
    209         if ( $single ) {
     209        if ( $single )
    210210            return maybe_unserialize( $meta_cache[$meta_key][0] );
    211         } else {
     211        else
    212212            return array_map('maybe_unserialize', $meta_cache[$meta_key]);
    213         }
    214213    }
    215214
Note: See TracChangeset for help on using the changeset viewer.