Improve refund email subject/heading string check
-
Hi there,
WooCommerce Multilingual tries to filter the
subject_partialandsubject_full(same with heading) for the refund email in:inc/class-wc-emails.php method
filter_refund_emails_strings.This check is not strong enough as it filters other emails for these particular options/strings as well. E.g. we are using
subject_partialandsubject_fullfor our shipment email (https://github.com/vendidero/woocommerce-germanized-shipments/blob/master/includes/emails/class-wc-gzd-email-customer-shipment.php) as well which leads to Woo Multilingual replacing our subject with the refund subject which is not expected behaviour. Please improve your code by checking the email id withinfilter_refund_emails_stringsbefore replacing.Cheers
The topic ‘Improve refund email subject/heading string check’ is closed to new replies.