Fixed issue with not AJAX enabled checkout and wp_safe_redirect() causing redirects to wp-admin.