WordPress.org

Plugin Directory

User Spam Remover

Automatically removes spam user registrations and other old, unused user accounts. Blocks annoying e-mail to administrator after new registrations.

0.9.8

  • Now requires mysqli. If your PHP version is < 5.5 you may need to force WordPress to use mysqli instead of the older mysql extension. Just add this line to wp-config.php, near the top by the other DB settings:

    define('WP_USE_EXT_MYSQL', FALSE);
    

0.9.1

  • Now detects and adds absent MySQL indexes to wp_comments.user_id and wp_links.link_owner columns. Greatly speeds performance and enables use on much larger databases. Big props to Raph Koster for help debugging!
  • Enables MySQL sql_big_selects config var at runtime for use on shared hosts and other installations where this is disabled by default.
  • MySQL SELECT errors now logged/shown to the user as appropriate.
  • Hard limit of 1000 users per deletion to prevent long-running operations. Upped limit to 10000 records per SELECT, thanks to improved SQL and indexes.
  • No longer deletes users with only comments marked as "spam." This is a small functional regression, but it speeds SQL performance. Once the spam is permanently removed these users will be deleted anyway.
  • Minor bug fix affecting settings page user list display w/ bbPress users.
  • Changes to method visibility. Many previously public methods now protected.
  • Code refactoring.

0.9

  • Version/compatibility bump so that wordpress.org plugin repository info is accurate.
  • Added check for wp_usermeta 'last_posted' record so that users of database-integrated bbPress installations are not deleted if they have ever posted anything.
  • Added hard limit of 5000 records to prevent long-running operations.
  • Added a list of user accounts pending deletion to the settings page.
  • Style fix to inline error messages per r16205 changes to WordPress core file wp-admin/css/colors-fresh.dev.css.
  • Miscellaneous minor style fixes.

0.3

  • Added standard WordPress Users section icon and printing of status message on options update.
  • Updated deprecated PHP syntax for string access by character in lcfirst().
  • Very minor refactoring and tweak of message text.

0.2

  • Fixed weird edge case where no usermeta records exist for a given user. Before: this caused user removal to abort and an error message to be logged. Now: any such users are deleted.
  • Added nonce checking to "Remove now" button on admin page.
  • Slight code refactor to remove buried strings.
  • Cosmetic change to log strings so plural "s" not added to singular words.

0.1

  • Initial public release.
  • Tested using WordPress 3.0.1 and PHP 5.2.6 and 5.2.14.

Requires: 3.9 or higher
Compatible up to: 4.1.5
Last Updated: 2014-12-20
Active Installs: 3,000+

Ratings

4 out of 5 stars

Support

0 of 1 support threads in the last two months have been resolved.

Got something to say? Need help?

Compatibility

+
=
Not enough data

1 person says it works.
0 people say it's broken.

100,1,1 100,1,1 100,3,3
100,1,1
100,1,1 100,1,1
100,1,1
100,1,1 100,1,1
100,1,1 100,1,1 100,1,1
100,1,1
100,2,2
100,1,1
100,1,1
100,1,1
0,1,0
100,1,1
100,1,1
100,1,1
100,1,1 50,2,1
100,1,1
100,1,1
100,1,1