Made custom register page, now honeypot doesn’t work
-
I had this honeypot working perfect before. Now I made a custom register page and it’s no longer working for no reason. All I did was move the bp-legacy Buddypress to the /buddypress folder to create a child theme for edits. Everything is working besides the honeypot.
Here’s a link to the code I have in my register page now:
http://www.codeshare.io/yQACcBuddypress build:
Buddypress Version 2.1.1
WordPress 4.0.1
Using DevDMBootstrap3 theme
I haven’t edited any core files in WP/BP.Here’s the code I used that worked previously:
// BuddyPress Honeypot function add_honeypot() { echo ''; } add_action('bp_after_signup_profile_fields','add_honeypot'); function check_honeypot() { if (!empty($_POST['system55'])) { global $bp; wp_redirect(home_url()); exit; } } add_filter('bp_core_validate_user_signup','check_honeypot');
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Made custom register page, now honeypot doesn’t work’ is closed to new replies.