mailgun / wordpress-plugin

Mailgun's Wordpress Plugin
GNU General Public License v2.0
48 stars 53 forks source link

Plug-in no longer honors the "wp_mail" filter, breaking functionality of other plug-ins. #152

Closed pandymic closed 1 year ago

pandymic commented 1 year ago

By removing the call to apply_filters in your plugged wp_mail() override you are introducing a breaking change that causes other plug-ins to stop functioning as intended.

Not sure if this was intended to resolve the documented issue with the "$to" variable, but one unintended side-effect is that it also no longer filters any other message data as well, including headers, subject, and message body.

I've confirmed that the "Email Templates" plug-in ceases to function when "Mailgun" is active. Deactivating the plug-in resolves all underlying e-mail formatting issues.

oleksandr-mykhailenko commented 1 year ago

Hello @pandymic Thank you for noticing this. Plugin was update few minutes ago. So we rollback changes. Thanks