Response handling fix for wp_error.  Thanks, @dex-labs!