Skip to content

Commit

Permalink
Used correct hook for user validation
Browse files Browse the repository at this point in the history
Hook I used previously was emptying the WP_Errors array, which isn't a
good thing.
  • Loading branch information
dcavins committed Feb 5, 2013
1 parent e31c7f9 commit 123737d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion pj-buddypress-honeypot.php
Expand Up @@ -45,7 +45,6 @@ class pjbp_honeypot {

function __construct() {
add_action( 'bp_after_signup_profile_fields', array( &$this, 'add_honeypot' ) );
add_filter( 'bp_core_validate_user_signup', array( &$this, 'check_honeypot' ) );
}

/**
Expand Down

0 comments on commit 123737d

Please sign in to comment.