Support » Plugin: User Spam Remover » WordPress 4.3 compatibility

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author joelhardi

    (@joelhardi)

    Could you elaborate on the issue you’re seeing? The plugin still works fine for me with all versions of WordPress going back several years.

    Thread Starter WebMan Design | Oliver Juhas

    (@webmandesign)

    Hi,

    Please follow the link I have posted. Should reveal a google search for the issue.

    Basically, I’m using the plugin on my support forum. After I’ve updated to WP4.3, I’ve had multiple issue reporting via social network that people can not register to my support forum (a couple of days with no ticket 😉 ).

    The issue was they’ve received the registration email with “both” set as password. Obviously this was wrong. I’ve traced the issue to User Spam Remover plugin so I’ve stopped using it.

    After disabling the plugin I’ve noticed that WordPress actually changed the registration emails and don’t send any initial password any more. Instead it sends the link to set up a strong password for yourself.

    So, does the User Spam Remover modify the registration email in any way? If so, please fix this. For others.

    Regards,

    Oliver

    Plugin Author joelhardi

    (@joelhardi)

    OK, I’ll look into it further and see if I can replicate. It looks like there was a change in core that is causing side effects for plugins. Shouldn’t be too hard to fix if there’s a problem and then I’ll update the plugin.

    It’s definitely good that core is no longer emailing out passwords in plaintext.

    Plugin Author joelhardi

    (@joelhardi)

    You were correct, WordPress core made a change to the API starting in version 4.3.0.

    Anyway, it was a pretty easy update to make to the plugin and I just pushed a new version 0.9.9 that fixes the problem where the new user gets a bogus registration notification email with “Password: both” and is unable to complete site registration and set a password.

    So please update to the new version and let me know if it solves the problem.

    Note that if you have any users who have registered and never set their password, they can still set a password by using the standard WordPress “lost/forgot password” function. So if you have a number of users like that, you could send them each an email to let them know there was a problem on the site and give them the URL to reset their password.

    Thanks for the bug report! I gave you credit in the changelog.

    I am going to file a couple of feature requests/patches with WordPress core because the way this API is implemented in WordPress requires unfortunate copy/paste coding to alter the notification behavior. The result is that when core changes the API, it breaks lots of plugins. Also, the wording of the initial “Welcome” email that new users get could be improved.

    Thread Starter WebMan Design | Oliver Juhas

    (@webmandesign)

    Hi Joel,

    Thanks for fixing the issue and for mentioning me in changelog!

    I have stopped using the plugin since the issue started so hoping this will help others.

    Thanks and regards,

    Oliver

    Hello Joel. I have WP 4.5.3. I installed your plugin. After clicking Activate, I get the following:
    Fatal error: Uncaught exception ‘UserSpamRemoverException’ with message ‘Your WordPress installation is not configured to use the PHP mysqli extension to connect to MySQL.This is required by the plugin. Please refer to the documentation for more information.’ in /home/shoppingcartprog/public_html/wp-content/plugins/user-spam-remover/user-spam-remover.php:797 Stack trace: #0 /home/shoppingcartprog/public_html/wp-content/plugins/user-spam-remover/user-spam-remover.php(144): UserSpamRemover->checkMySQL() #1 [internal function]: UserSpamRemover::activate(”) #2 /home/shoppingcartprog/public_html/wp-includes/plugin.php(525): call_user_func_array(Array, Array) #3 /home/shoppingcartprog/public_html/wp-admin/plugins.php(166): do_action(‘activate_user-s…’) #4 {main} thrown in /home/shoppingcartprog/public_html/wp-content/plugins/user-spam-remover/user-spam-remover.php on line 797

    Can you fix this?

    Plugin Author joelhardi

    (@joelhardi)

    Thanks for your interest in the plugin!

    There’s nothing to fix, mysqli is required by the plugin. Please see install instructions or previous threads on this topic.

    The original PHP mysql extension you’re using is insecure and deprecated as of PHP 5.5, it’s a good idea to use mysqli instead.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘WordPress 4.3 compatibility’ is closed to new replies.