Support » Fixing WordPress » wp_users Table: spam Field?

  • So, I’m working on a plugin and wanted to see if there was a way to avoid the plugin operating on suspicious accounts, like spam accounts. Browsing around, I noticed that there is a field in the table called “spam,” but as yet, I have not discovered where this field is set?

    I’ve looked in both the individual blog administration and the site administration stuff – I’m running a converted MU site – but can’t seem to find it. However, if I set the field directly in the database, the user shows up red highlighted in the user admin area, so clearly, WordPress is currently using it somehow.

    Can anyone shed any light on what the deal is with this field? Is it being deprecated? Thanks a lot!

Viewing 1 replies (of 1 total)
  • Ah, the enigmatic wp_users spam and deleted fields…

    I encountered a similar issue and although I didn’t find where the field was set, I did discover that manually setting it to ‘1’ prevents the user from logging in and presents a ‘You Are a Big Fat Spammer’ message.

    The wp_users spam field and the equally mysterious deleted field appeared with the addition of multisite functionality. According to the includes/ms-functions.php file, deleted plays a role in determining a user’s active blog, but I can’t seem to make it do anything useful — either from the admin interface or by changing it in the database. It may turn out that I’ve misconfigured something, though, and the functions are just never being called.


Viewing 1 replies (of 1 total)
  • The topic ‘wp_users Table: spam Field?’ is closed to new replies.