diff --git a/wp-includes/functions.php b/wp-includes/functions.php index 8a91d152bf..dad7f15862 100644 --- a/wp-includes/functions.php +++ b/wp-includes/functions.php @@ -616,7 +616,7 @@ function maybe_serialize( $data ) { */ function maybe_unserialize( $data ) { if ( is_serialized( $data ) ) { // Don't attempt to unserialize data that wasn't serialized going in. - return @unserialize( $data ); + return @unserialize( trim( $data ) ); } return $data; diff --git a/wp-includes/version.php b/wp-includes/version.php index f2eb4c844b..ee22aa3910 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.5-alpha-47453'; +$wp_version = '5.5-alpha-47454'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.