wpexpertsio / cf7-honeypot

Contact Form 7 Honeypot - Adds honeypot anti-spam functionality to CF7 forms.
Other
5 stars 5 forks source link

Plugin auto-deactivates on CF7 update #6

Closed Zodiac1978 closed 3 years ago

Zodiac1978 commented 3 years ago

In the last months for some times I experienced much more spam and found that the plugin was deactivated. But I do not find the reason why that happened.

Today I installed the update from CF7 to 5.4 and your Honeypot plugin was deactivated again. I think your wpcf7_honeypot_has_parent_plugin function gets triggered and therefore deactivates the plugin in the process of an CF7 update.

Zodiac1978 commented 3 years ago

I can help to test why this happened and maybe we could change it a little bit more in this direction: https://pento.net/2014/02/18/dont-let-your-plugin-be-activated-on-incompatible-sites/ (Old but should still be valid)

nocean commented 3 years ago

Hey @Zodiac1978 - much appreciate you bringing this to my attention. I'm in the middle of a big overhaul of the plugin, and will look at this bug.

nocean commented 3 years ago

Fixed in latest version. Thanks again for bringing this to my attention. I removed the disabling of Honeypot, and made the notice more robust (and dismissible).