When Network Active, still loads all files for Sub Sites when no API Key exists
-
If no global API Key is entered on a Multisite, then
wp_mail()
still gets overidden Multisite-wide and prevents Emails from being sent out. This can be a problem if a sub site isn’t using SendGrid and is instead using another service like SparkPost or even plainwp_mail()
.Some files in the plugin should probably be conditionally loaded to prevent (admittedly edge-cases) like this.
I wrote a small mu-plugin which shows how this could be handled. This works alongside the SendGrid plugin as-is and is what I’m using now.
https://github.com/realbigplugins/sendgrid-multisite-disabler
- The topic ‘When Network Active, still loads all files for Sub Sites when no API Key exists’ is closed to new replies.