As I am working to repurpose GeekBrainDump.com I have found there is a lot of basic maintenance I have to perform. There’s the standard work of updating the theme, adding banner ads and such, but there is also a lot of work to clean up what has been done before.
GeekBrainDump.com started as a community based platform and one of the things that I promised to the authors back then was that even if I pivoted, or killed GeekBrainDump.com I would still leave their work up as long as possible. One of the issues I have run into is that there were hundreds of spam accounts that were created, and although I want to keep the genuine accounts around I needed to get rid of the spam accounts for basic security and management considerations. Obviously deleting hundreds of accounts manually would be a pain in the butt.
Thankfully No Posts User Delete plugin for WordPress does this in a snap. Simply install the plugin, go to the plugin admin panel under Users, and then make a few selections. Obviously you should do a backup of your site before you do this, but I ran into no issues.
Deleting spam/ dead accounts is one of the simple tasks you can do to improve security for your WordPress site. Many times “hackers” will create thousands of these accounts and then not do anything until they need them. Possibly waiting a year or more for one bad plugin update to compromise your installation so they can use an old account to launch an attack.
You can find No Posts User Plugin here: https://wordpress.org/plugins/no-posts-user-delete/