Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
  • 4 commits
  • 4 files changed
  • 1 commit comment
  • 2 contributors
View
7 readme.txt
@@ -4,7 +4,7 @@ Donate link: http://www.blaenkdenum.com
Tags: comments, registration, recaptcha, antispam, mailhide, captcha, wpmu
Requires at least: 2.7
Tested up to: 2.9.1
-Stable tag: 3.1.4
+Stable tag: 3.1.5
Integrates reCAPTCHA anti-spam methods with WordPress including comment, registration, and email spam protection. WPMU Compatible.
@@ -49,6 +49,11 @@ To install in WordPress MU (Forced Activation/Site-Wide):
== ChangeLog ==
+= Version 3.1.5 =
+* Thanks to [Ken Newman](https://github.com/WraithKenny) for these changes
+* Update author website
+* Stop generating javascript errors on unnecessary pages
+* Better SSL support
= Version 3.1.4 =
* Fixed an XSS vulnerability
= Version 3.1.3 =
View
3  recaptcha.php
@@ -54,7 +54,6 @@ function register_actions() {
// only register the hooks if the user wants recaptcha on the comments page
if ($this->options['show_in_comments']) {
add_action('comment_form', array(&$this, 'show_recaptcha_in_comments'));
- add_action('wp_footer', array(&$this, 'save_comment_script')); // preserve the comment that was entered
// recaptcha comment processing (look into doing all of this with AJAX, optionally)
add_action('wp_head', array(&$this, 'saved_comment'), 0);
@@ -377,6 +376,8 @@ function show_recaptcha_in_comments() {
</script>
OPTS;
+ add_action('wp_footer', array(&$this, 'save_comment_script')); // preserve the comment that was entered
+
// todo: replace this with jquery: http://digwp.com/2009/06/including-jquery-in-wordpress-the-right-way/
// todo: use math to increment+1 the submit button based on what the tab_index option is
if ($this->options['xhtml_compliance']) {
View
4 wp-plugin.php
@@ -60,9 +60,9 @@ static function plugins_directory() {
static function plugins_url() {
if (WPPlugin::determine_environment() == Environment::WordPressMU)
- return get_option('siteurl') . '/wp-content/mu-plugins';
+ return site_url() . '/wp-content/mu-plugins';
else
- return get_option('siteurl') . '/wp-content/plugins';
+ return site_url() . '/wp-content/plugins';
}
static function path_to_plugin_directory() {
View
8 wp-recaptcha.php
@@ -1,12 +1,12 @@
<?php
/*
Plugin Name: WP-reCAPTCHA
-Plugin URI: http://www.blaenkdenum.com/wp-recaptcha/
+Plugin URI: https://github.com/blaenk/wp-recaptcha
Description: Integrates reCAPTCHA anti-spam solutions with wordpress
-Version: 3.1.4
+Version: 3.1.5
Author: Jorge Peña
Email: support@recaptcha.net
-Author URI: http://www.blaenkdenum.com
+Author URI: https://github.com/blaenk
*/
// this is the 'driver' file that instantiates the objects and registers every hook
@@ -19,4 +19,4 @@
$recaptcha = new reCAPTCHA('recaptcha_options');
$mailhide = new MailHide('mailhide_options');
-?>
+?>

Showing you all comments on commits in this comparison.

@DavyB

3.1.5 Still broken re Multisite even if only activated per site - it claims to be WordPress - MU compatible in the blurb at wordpress.org - thats irrelevant since that was wordpress pre- version 3, its NOT multisite compatible - there are patches and extensions to make it work i.e. stop the brain dead processing and read from the correct places - but its very annoying to have to re-patch with every plugin version that commes out, see the plethora of threads in wordpress.org forums http://wordpress.org/support/topic/plugin-contact-form-7-recaptcha-extension-wp-multisite-313-re-captcha-plugin-313-contact-form-7-problems-solution
or
http://wordpress.org/support/topic/doesnt-save-keys-for-wordpress-305?replies=7#post-2193926 in particular

  • its been broken since before plugin version 3.1.3 ie about 4 months ago and there are patches to get it working again
  • its pointless referring to http://www.blaenkdenum.com/wp-recaptcha/ since it's not in DNS
Something went wrong with that request. Please try again.