Make WordPress Core

Changeset 5102


Ignore:
Timestamp:
03/25/2007 11:23:52 PM (18 years ago)
Author:
ryan
Message:

Correct reversed logic in maybe_serialize. Props takayukister. fixes #4029

File:
1 edited

Legend:

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

    r5093 r5102  
    405405    elseif ( is_array($data) || is_object($data) )
    406406        return serialize($data);
    407     if ( is_serialized($data) )
     407    if ( !is_serialized($data) )
    408408        return serialize($data);
    409409    return $data;
Note: See TracChangeset for help on using the changeset viewer.