Plugin Directory

Changeset 1013390


Ignore:
Timestamp:
10/24/2014 01:36:36 PM (11 years ago)
Author:
buildcreate
Message:

Fixed comment issue

Location:
agreeable/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • agreeable/trunk/agreeable.php

    r1005141 r1013390  
    44Plugin URI: http://wordpress.org/extend/plugins/agreeable
    55Description: Add a required "Agree to terms" checkbox to login and/or register forms.
    6 Version: 1.3.9.4
     6Version: 1.3.9.5
    77Author: kraftpress
    88Author URI: http://kraftpress.it
     
    262262
    263263            // See if the checkbox #ag_login_accept was checked
    264             if ( isset( $_REQUEST['ag_login_accept'] ) && $_REQUEST['ag_login_accept'] == 'on' ) {
     264            if ( isset( $_REQUEST['ag_login_accept'] ) && $_REQUEST['ag_login_accept'] == 1 ) {
    265265                // Checkbox on, allow comment
    266                 do_action('agreeable_validate_user', $user, $_REQUEST['ag_type']);
     266                //do_action('agreeable_validate_user', $user, $_REQUEST['ag_type']);
    267267                return $comment;
    268268            } else {
    269                 // Did NOT check the box, do not allow login
     269                // Did NOT check the box, do not allow comment
    270270
    271271                $error = new WP_Error();
  • agreeable/trunk/readme.txt

    r1005141 r1013390  
    3737
    3838== Changelog ==
     39
     40== 1.3.9.5 ==
     41* Fixed issue preventing comments from being posted
    3942
    4043== 1.3.9.4 ==
Note: See TracChangeset for help on using the changeset viewer.