Closed (fixed)
Project:
reCAPTCHA
Version:
6.x-1.x-dev
Component:
reCAPTCHA Captcha
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
21 May 2009 at 21:20 UTC
Updated:
28 Jun 2009 at 05:40 UTC
Hi Rob,
I'm busy to get the CAPTCHA module for Drupal 6 past Beta and RC state and one of the last issues I'd like to iron out for CAPTCHA 6.x-2.0 is removing the preprocess operation from hook_captcha. For more discussion and details see #463002: Drop preprocess op of hook_captcha?. Feel free to tune in.
In attachment I have a patch that should make the reCAPTCHA module compatible with this API change: it replaces the usage of the custom hook_captcha-preprocess with standard Drupal Form API stuff (mainly a '#process' callback).
Note that this change is also backwards compatible with the "old" CAPTCHA API (CAPTCHA 5.x-3.x and 6.x-1.x), so nobody gets hurt.
| Comment | File | Size | Author |
|---|---|---|---|
| drop_preprocess.patch | 2.93 KB | soxofaan |
Comments
Comment #1
robloachWow, I like that process array. Committed. When you release the 6.x-2.0 version, I'll hit up a release on reCAPTCHA. Well done, soxofaan!
Comment #2
soxofaan commentedHi,
I just released CAPTCHA 6.x-2.0-rc1 in which the preprocess op was dropped, so I think you should hit up that reCAPTCHA release.
keep up your good work, rob!
Comment #3
robloachGreat! Thanks a lot for reminding me.... reCAPTCHA 6.x-1.2.
I didn't do any work, you did it all. Also, met a Dutch person at the Drupal NYC meet and he said that his girlfriend knows you! Don't know how that works, but it was pretty funny.