Move cart messages to templates file and make it generic, not just for cart saving. #1257
Improve edd_restore_cart() function by fixing invalid token checks and return a WP_Error. #1257
Remove code duplicate in edd_save_cart(). #1257
Reduce code duplication. #1257
Add redirect back to checkout (to remove query args) on save and restore to prevent duplicate save / restores. #1257