CakeDC/recaptcha — pull request #22 by destinydriven (2012-08-23 15:39:50+00:00)
Title: Fixed method signature in component initialize() and theme issue in helper.

Implemented correct method signature for initialize() method. The handling of $settings was moved to constructor.

The presence of 'callback' => 'Recaptcha.focus_response_field' in 'recaptchaOptions' array in helper was causing it to be called prematurely before Recaptcha object was initialized resulting in code breaking and consequently themes not working. Relocating this callback to where the Recaptcha object is in scope fixed this issue.