WordPress.org

Make WordPress Core

Ticket #1988: maybe_un.diff

File maybe_un.diff, 482 bytes (added by skeltoac, 16 years ago)
  • wp-includes/functions.php

     
    258258
    259259
    260260function maybe_unserialize($original) {
    261         if ( $gm = @ unserialize($original) )
     261        if ( false !== $gm = @ unserialize($original) )
    262262                return $gm;
    263263        else
    264264                return $original;
     
    21692169        return $wpdb->num_queries;
    21702170}
    21712171
    2172 ?>
    2173  No newline at end of file
     2172?>