Using with multi-user
-
Every time I update this plugin I have to make my own custom edit to make it work with MU – without which I get loads of bogus bot attempts to register on wp-signup.php
if ( C4WP_Functions::c4wp_is_form_enabled( 'registration' ) ) { add_action( 'register_form', array( __CLASS__, 'form_field' ), 99 ); add_filter( 'registration_errors', array( __CLASS__, 'registration_verify' ), 10, 3 ); // added lines for WPMU add_action( 'signup_extra_fields', array( __CLASS__, 'form_field' ), 99 ); add_filter( 'wpmu_validate_user_signup', array( __CLASS__, 'mu_registration_verify' ), 10, 3 ); }
and then mu_registration_verify is just a setup and then call to the standard
$this->registration_verify( $errors, $sanitized_user_login, $user_email );
(I can give you the specific code I use if you want it)
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘Using with multi-user’ is closed to new replies.