Plugin Directory

Changeset 768950


Ignore:
Timestamp:
09/09/2013 10:18:31 AM (13 years ago)
Author:
commentluv
Message:

taggin 1.5.1 and updated max_mod value during install and check it exists before using it on check_comment

Location:
growmap-anti-spambot-plugin
Files:
18 added
2 edited

Legend:

Unmodified
Added
Removed
  • growmap-anti-spambot-plugin/trunk/growmap-anti-spambot-plugin.php

    r768503 r768950  
    44Plugin URI: http://www.growmap.com/growmap-anti-spambot-plugin/
    55Description: Very simple plugin that adds a client side generated checkbox to the comment form requesting that the user clicks it to prove they are not a spammer. Bots wont see it so their spam comment will be discarded.
    6 Version: 1.5
     6Version: 1.5.1
    77Author: Andy Bailey
    88Author URI: http://ComLuv.com
     
    119119        update_option('gasp_options',$options);
    120120    }
    121     if(version_compare($options['version'],'1.4.3','<')){
     121    if(version_compare($options['version'],'1.5.1','<')){
    122122        $options['refer_check'] = 'yes';
    123123        $options['max_mod'] = 3;
     
    209209        }
    210210    }
    211     if($options['max_mod'] != 'disabled'){
     211    if(isset($options['max_mod']) && $options['max_mod'] != 'disabled'){
    212212        $count = get_comments(array('status'=>'hold','author_email'=>$commentdata['comment_author_email'],'count'=>true));
    213213        if($count > $options['max_mod']){
     
    426426        echo '<p id="gasp_p" style="clear:both;"></p>';
    427427        echo '<script type="text/javascript">
    428         //v1.4.3
     428        //v1.5.1
    429429        var gasp_p = document.getElementById("gasp_p");
    430430        var gasp_cb = document.createElement("input");
  • growmap-anti-spambot-plugin/trunk/readme.txt

    r768506 r768950  
    55Requires at least: 2.9.2
    66Tested up to: 3.6
    7 Stable tag: 1.5
     7Stable tag: 1.5.1
    88   
    99Defeat automated spambots (even the new 'learning' bots with dynamically named hidden fields) by adding a client side generated checkbox.
     
    7171You can also change the secret key value and set the maximum comments in moderation to a lower number.
    7272
     73= everyone is getting the error message =
     74
     75if you have a cache plugin, please clear all caches.
     76
     77also, you can try saving the settings again to reset all the variables
     78
    7379== Screenshots ==
    7480
     
    8086
    8187== ChangeLog ==
     88
     89= 1.5.1 =
     90
     91* updated : set the max_mod value during install if it doesn't exist
     92* updated : new readme
    8293
    8394= 1.5 =
     
    145156== Upgrade Notice ==
    146157
    147 = 1.5 =
     158= 1.5.1 =
    148159
    149 * added - better measures for combatting the new 'learning' bots by using dynamically named hidden fields
     160* fix - some users reporting that all comments were denied. this was due to a setting not being set on install. try saving your settings if this happens to you
    150161
    151162== Configuration ==
Note: See TracChangeset for help on using the changeset viewer.