I don’t get what you mean. Contact Form 7 does check if the ReallySimpleCaptcha class exists before calling it.
I think the OP meant that the THEME he is running is throwing a fatal error because it has a baked-in ReallySimpleCaptcha class. Since the RSC plugin itself doesn’t do a class_exists() check, it’s throwing a fatal error when the plugin tries to load since it tries to redefine a class that already exists.
That’s how I read it anyway 🙂
Exactly. Though, I just realized that since the theme is already using the class, I don’t need to use the RSC plugin to add a CAPTCHA field to CF7. I just figured the RSC plugin itself would do a check, but I suppose relying on the actual plugin or theme USING the class to check first is just as effective for the most part.
Thanks
While I have your attention though – You are the author of both CF7 and RSC, have you ever considered just baking in RSC with CF7? I’m sure you get that question a lot. Just curious if there is a reason behind it.
Really Simple CAPTCHA used to be a part of Contact Form 7, and separated 5 years ago. I wrote the reason here.
http://ideasilo.wordpress.com/2009/03/14/really-simple-captcha/
I just realized that since the theme is already using the class, I don’t need to use the RSC plugin to add a CAPTCHA field to CF7.
If this mean your theme itself defines ReallySimpleCaptcha class in the theme’s file, the theme is making a serious mistake.