I found where the problem is. But I do not know how to fix it. It is not all about adding a new reCAPTCHA. It is about fixing another plugin.
ow Do I Fix This WordPress PlugIn Issue?
I am getting a ton of these automatic requests from “users” requesting username for my Wordpress forum.
http://i67.photobucket.com/albums/h292/Athono/this.jpg
I think these unwanted automatic requests are easily accomplished by this plug-in:
http://i67.photobucket.com/albums/h2...-inplugsup.jpg
I had thought that maybe there was something wrong with my Registration page but now I know this probably is not the problem. As a test, I commented out the registration button on my php login page and even after doing, I still get a flood of unwanted automated requests to register.
In fact, I found the php code in the plugin that sends me this dreaded email address:
Code:
function send_approval_email($user_login, $user_email, $errors) {
if (!$errors->get_error_code()) {
/* check if already exists */
$user_data = get_userdatabylogin($user_login);
if (!empty($user_data)){
$errors->add('registration_required' , __('User name already exists', $this->localizationDomain), 'message');
} else {
/* send email to admin for approval */
$message = sprintf(__('%1$s (%2$s) has requested a username at %3$s', $this->localizationDomain), $user_login, $user_email, get_option('blogname')) . "\r\n\r\n";
$message .= get_option('siteurl') . "\r\n\r\n";
$message .= sprintf(__('To approve or deny this user access to %s go to', $this->localizationDomain), get_option('blogname')) . "\r\n\r\n";
$message .= get_option('siteurl') . "/wp-admin/users.php?page=".basename(__FILE__)."\r\n";
// send the mail
@wp_mail(get_option('admin_email'), sprintf(__('[%s] User Approval', $this->localizationDomain), get_option('blogname')), $message);
// create the user
$user_pass = wp_generate_password();
$user_id = wp_create_user($user_login, $user_pass, $user_email);
update_usermeta($user_id, 'pw_user_status', 'pending');
}
}
}
This function is mentioned in the php code as being associated with the register_post command:
Code:
add_action('register_post', array(&$this, 'send_approval_email'), 10, 3);
So what the heck is a "register_post" command?
I do not like what this function, "send_approval_email" does.
I do not know how this "register_post" message is triggered. Apparently, it can be triggered directly to the server through a URL. THen all the captcha elements are useless as well as any agreements that the user needs to click on are also pointless. How can I add to this function variables that check to see if other items are clicked on in the other plugin?