WordPress.org

Make WordPress Core

Changeset 15706


Ignore:
Timestamp:
10/04/2010 11:00:36 AM (8 years ago)
Author:
dd32
Message:

Revert part of [15703]. The Metadata API doesnt unserialize everything.

File:
1 edited

Legend:

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

    r15704 r15706  
    10831083
    10841084    foreach ( $metavalues as $meta ) {
     1085        $value = maybe_unserialize($meta->meta_value);
    10851086        // Keys used as object vars cannot have dashes.
    10861087        $key = str_replace('-', '', $meta->meta_key);
    1087         $user->{$key} = $meta->meta_value;
     1088        $user->{$key} = $value;
    10881089    }
    10891090
Note: See TracChangeset for help on using the changeset viewer.