diff --git a/wp-includes/functions.php b/wp-includes/functions.php index df4f561840..019f8b6bf6 100644 --- a/wp-includes/functions.php +++ b/wp-includes/functions.php @@ -528,7 +528,7 @@ function is_serialized( $data, $strict = true ) { case 'i': case 'd': $end = $strict ? '$' : ''; - return (bool) preg_match( "/^{$token}:[0-9.E-]+;$end/", $data ); + return (bool) preg_match( "/^{$token}:[0-9.E+-]+;$end/", $data ); } return false; } diff --git a/wp-includes/version.php b/wp-includes/version.php index 419523cb78..769f14bdc7 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.3-alpha-45753'; +$wp_version = '5.3-alpha-45754'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.