WordPress.org

Plugin Directory

Changeset 586067


Ignore:
Timestamp:
08/16/12 04:48:12 (20 months ago)
Author:
solarissmoke
Message:

Releasing version 3.2.6

Location:
wp-conditional-captcha/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • wp-conditional-captcha/trunk/readme.txt

    r559300 r586067  
    4343 
    4444== Changelog == 
     45 
     46= 3.2.6 = 
     47* Don't intercept comments submitted via AJAX. 
    4548 
    4649= 3.2.5 = 
  • wp-conditional-captcha/trunk/wp-conditional-captcha.php

    r517193 r586067  
    44Plugin URI: http://rayofsolaris.net/code/conditional-captcha-for-wordpress 
    55Description: A plugin that asks the commenter to complete a simple CAPTCHA if a spam detection plugin thinks their comment is spam. Currently supports Akismet and TypePad AntiSpam. 
    6 Version: 3.2.5 
     6Version: 3.2.6 
    77Author: Samir Shah 
    88Author URI: http://rayofsolaris.net/ 
     
    333333            } 
    334334        } 
    335         elseif( ! is_user_logged_in() && empty( $comment['comment_type'] ) ) {  // don't mess with pingbacks and trackbacks and logged in users 
     335        elseif( ! is_user_logged_in() && empty( $comment['comment_type'] ) && empty( $_SERVER['HTTP_X_REQUESTED_WITH'] ) ) {     
     336            // don't mess with pingbacks and trackbacks and logged in users and AJAX requests 
    336337            add_action( $this->antispam['caught_action'], array( $this, 'spam_handler' ) ); // set up spam intercept  
    337338        } 
Note: See TracChangeset for help on using the changeset viewer.