Changeset 1013390
- Timestamp:
- 10/24/2014 01:36:36 PM (11 years ago)
- Location:
- agreeable/trunk
- Files:
-
- 2 edited
-
agreeable.php (modified) (2 diffs)
-
readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
agreeable/trunk/agreeable.php
r1005141 r1013390 4 4 Plugin URI: http://wordpress.org/extend/plugins/agreeable 5 5 Description: Add a required "Agree to terms" checkbox to login and/or register forms. 6 Version: 1.3.9. 46 Version: 1.3.9.5 7 7 Author: kraftpress 8 8 Author URI: http://kraftpress.it … … 262 262 263 263 // 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 ) { 265 265 // Checkbox on, allow comment 266 do_action('agreeable_validate_user', $user, $_REQUEST['ag_type']);266 //do_action('agreeable_validate_user', $user, $_REQUEST['ag_type']); 267 267 return $comment; 268 268 } else { 269 // Did NOT check the box, do not allow login269 // Did NOT check the box, do not allow comment 270 270 271 271 $error = new WP_Error(); -
agreeable/trunk/readme.txt
r1005141 r1013390 37 37 38 38 == Changelog == 39 40 == 1.3.9.5 == 41 * Fixed issue preventing comments from being posted 39 42 40 43 == 1.3.9.4 ==
Note: See TracChangeset
for help on using the changeset viewer.