diff --git a/wp-includes/functions.php b/wp-includes/functions.php index f7f066d357..0df6f9be94 100644 --- a/wp-includes/functions.php +++ b/wp-includes/functions.php @@ -258,7 +258,7 @@ function url_to_postid($url) { function maybe_unserialize($original) { - if ( $gm = @ unserialize($original) ) + if ( false !== $gm = @ unserialize($original) ) return $gm; else return $original; @@ -2169,4 +2169,4 @@ function get_num_queries() { return $wpdb->num_queries; } -?> \ No newline at end of file +?>