Don't return early on cart serialization on shutdown when is_admin() is true due to being an AJAX request.