Closed JosKlever closed 2 months ago
Great suggestion! I updated the plugin constant to MAINWP_PLUGIN_UPDATES_DISCORD_WEBHOOK_URL
with backward compatibility for the MAINWP_UPDATES_DISCORD_WEBHOOK_URL
in version 1.1.0. I also added checks so that if those constants aren't defined, the functions won't run (which I think may have caused a fatal error in those cases, but didn't test).
There's a strange difference between the constants for the webhooks.
The one for the plugins, doesn't mention plugin. So maybe it's good to create some clarity, now the number of users is still low.