ravishukla007 / recaptcha

Automatically exported from code.google.com/p/recaptcha
0 stars 0 forks source link

Patch to support making easy using recaptcha-wordpress simple from PHP #27

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
This is a simple patch for anyone who wants to use your code from SVN as in
a wordpress setup where one uses svn:externals to pull the latest code.
Right now this won't work because the php library is in an outside folder.

This patch checks to see if the lib is in the same directory so that anyone
with current preferred setup is not broken. It also checks the folder php
to see if recaptchalib.php is in that folder.

This allows for one to use svn externals to pull in the recaptcha-php
folder into /php

Please do apply as it will help the many folks who manage multiple
wordpress sites to do this.

Original issue reported on code.google.com by phillip...@gmail.com on 8 Nov 2008 at 8:09

Attachments:

GoogleCodeExporter commented 8 years ago
I'm sorry but I believe what you are after is 
http://svn.wp-plugins.org/wp-recaptcha/

That is the repository for the WordPress reCAPTCHA plugin (WP-reCAPTCHA:
http://wordpress.org/extend/plugins/wp-recaptcha/). Its recaptchalib.php is 
different
than the one in reCAPTCHA's main repository. This should make it much easier 
for you
to use bleeding edge code. Please let me know if this helps in any way and if 
your
patch is still applicable.

Original comment by jorgepbl...@gmail.com on 10 Nov 2008 at 12:34

GoogleCodeExporter commented 8 years ago
Yes, you are right! Well, thanks for the heads up and I am now using this 
plugin :)

Original comment by phillip...@gmail.com on 10 Nov 2008 at 6:44