Title: Remove Unwanted Subscribers
Author: paulvgibbs
Published: <strong>2017 年 8 月 18 日</strong>
Last modified: 2019 年 12 月 7 日

---

搜索插件

![](https://ps.w.org/withinweb-remove-spam-subscribers/assets/banner-772x250.jpg?
rev=1737058)

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://ps.w.org/withinweb-remove-spam-subscribers/assets/icon-128x128.png?rev
=1737058)

# Remove Unwanted Subscribers

 作者：[paulvgibbs](https://profiles.wordpress.org/paulvgibbs/)

[下载](https://downloads.wordpress.org/plugin/withinweb-remove-spam-subscribers.1.0.7.zip)

 * [详情](https://cn.wordpress.org/plugins/withinweb-remove-spam-subscribers/#description)
 * [评价](https://cn.wordpress.org/plugins/withinweb-remove-spam-subscribers/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/withinweb-remove-spam-subscribers/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/withinweb-remove-spam-subscribers/#developers)

 [支持](https://wordpress.org/support/plugin/withinweb-remove-spam-subscribers/)

## 描述

Do you get subscribers that register with your WordPress site but never post any
comments. These are probably spam subscribers where someone has set up an automated
piece of software to create these users.

They are a real menace and you can often tell if they are spam by looking at the
email address and the registered name. Usually there is no relationship between 
the person’s name and the email address.

This short plugin will delete the subscriber 7 days after registering if they have
not posted a comment or not submitted a post and have a role of subscriber. A delay
of 7 days is included to allow time for the registered user to make their comment.

A scheduled job runs every day and checks for those type of users and deletes them.

WordPress has 5 default roles of:
 * Admininstrator – has access to all adminstrative
options and features. * Editor – can manage and publish posts. * Author – can publish
their own posts. * Contributer – can write posts but cannot publish them. * Subscriber–
has basic functionality such as leaving comments and changing their profile. This
is usually the default role that a registered user will have.

This script specifically targets subscribers as it is those that create comments.

For details of the plugin refer to web site http://www.withinweb.com/withinwebremovespam/

It uses a WordPress type CRON job to automatically run each day, hence once installed
you don’t have to do anything.

You can set a debugging mode which will send out an email each time that a user 
is removed.

### 1.0.6

Minor text changes.

### 1.0.7

Minor text changes.

## 屏幕截图

[⌊screenshot-1.png shows the set up screen.  Setting the debug setting to Yes and
entering the email address will send an email each time the CRON job is run.⌉⌊screenshot-
1.png shows the set up screen.  Setting the debug setting to Yes and entering the
email address will send an email each time the CRON job is run.⌉[

screenshot-1.png shows the set up screen. Setting the debug setting to Yes and entering
the email address will send an email each time the CRON job is run.

## 安装

This section describes how to install the plugin and get it working.

 1. Upload withinweb remove subscribers to the `/wp-content/plugins/` directory.
 2. Activate the plugin through the ‘Plugins’ menu in WordPress.
 3. In the ‘Settings’ menu, you can enter an email address to send debugging information
    which will be run whenever a user is deleted.
 4. To test, create a new user with a type of ‘subscriber’.
 5. In the settings page, set debugging to ‘Yes’ and put in valid email addresses.
 6. After 7 days you should get an email that says your user has been deleted.
 7. You may also want to create a user with type of ‘editor’ and you should see that
    this user is not deleted after 7 days.
 8. Another test is to create a user with role of subscriber, create a post or comment
    by that user. After 7 days the user should not have been deleted.

## 常见问题

  Can you change the duration of the CRON job

At the moment the only way would be to change the duration is editing the main code.
It is currently set to 7 days.

## 评价

此插件暂无评价。

## 贡献者及开发者

「Remove Unwanted Subscribers」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ paulvgibbs ](https://profiles.wordpress.org/paulvgibbs/)

[帮助将「Remove Unwanted Subscribers」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/withinweb-remove-spam-subscribers)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/withinweb-remove-spam-subscribers/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/withinweb-remove-spam-subscribers/)，
或通过[RSS](https://plugins.trac.wordpress.org/log/withinweb-remove-spam-subscribers/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/withinweb-remove-spam-subscribers/)。

## 额外信息

 *  版本 **1.0.7**
 *  最后更新：**7 年前**
 *  活跃安装数量 **20+**
 *  WordPress 版本 ** 3.0.1 或更高版本 **
 *  已测试的最高版本为 **5.3.21**
 *  语言
 * [English (US)](https://wordpress.org/plugins/withinweb-remove-spam-subscribers/)
 * 标签
 * [cron job](https://cn.wordpress.org/plugins/tags/cron-job/)[spam users](https://cn.wordpress.org/plugins/tags/spam-users/)
   [subscribers](https://cn.wordpress.org/plugins/tags/subscribers/)
 *  [高级视图](https://cn.wordpress.org/plugins/withinweb-remove-spam-subscribers/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/withinweb-remove-spam-subscribers/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/withinweb-remove-spam-subscribers/reviews/)

## 贡献者

 *   [ paulvgibbs ](https://profiles.wordpress.org/paulvgibbs/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/withinweb-remove-spam-subscribers/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](https://www.paulvgibbs.com/donation-button/)