diff --git a/wp-includes/functions.php b/wp-includes/functions.php index 99c2b11b6b..fb7be8fdec 100644 --- a/wp-includes/functions.php +++ b/wp-includes/functions.php @@ -282,6 +282,7 @@ function is_serialized( $data, $strict = true ) { } elseif ( false === strpos( $data, '"' ) ) { return false; } + // or else fall through case 'a' : case 'O' : return (bool) preg_match( "/^{$token}:[0-9]+:/s", $data );