Title: Disable User Login
Author: brainvireinfo
Published: <strong>2016 年 6 月 8 日</strong>
Last modified: 2024 年 12 月 2 日

---

搜索插件

![](https://ps.w.org/wp-users-disable/assets/banner-772x250.jpg?rev=1432958)

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

![](https://ps.w.org/wp-users-disable/assets/icon-256x256.png?rev=1440107)

# Disable User Login

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

[下载](https://downloads.wordpress.org/plugin/wp-users-disable.1.0.2.zip)

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

 [支持](https://wordpress.org/support/plugin/wp-users-disable/)

## 描述

The plug-in lists out all the existing users’ accounts and gives the ability to 
admin to disable specific user accounts via email address.

Once installed and activated, this plug-in lists out all the user accounts available.
The admin will be asked to enter the email address of the user who they want to 
restrict from logging in. If the disabled user tries to login, they will be logged
out immediately and redirected to the login page with a message showing up as “User
account disabled”.

#### How is it Useful?

 * You can restrict another user (who has an account) from making any changes during
   development.
 * You have a client who has an unpaid invoice.
 * You want to restrict malicious users.

## 屏幕截图

[⌊screenshot-1.png⌉⌊screenshot-1.png⌉[

screenshot-1.png

## 安装

how to install the plugin and get it working.

e.g.

 1. Upload plugin to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress

## 评价

![](https://secure.gravatar.com/avatar/69b74a8b449201f3e9e4c562803d8ede0bb97bd5ad04af631f12d6a7cac673ea?
s=60&d=retro&r=g)

### 󠀁[It does exactly what it says in the tin](https://wordpress.org/support/topic/it-does-exactly-what-it-says-in-the-tin-20/)󠁿

 [danielepais](https://profiles.wordpress.org/danielepais/) 2026 年 2 月 6 日

It worked for me just fine, I had to block some users from login in the system until
works in the back-end were done but I did not want to delete the accounts and this
plugin did just that.

![](https://secure.gravatar.com/avatar/9708f3ba1b5d39abd7b3c640ff70eed03c85c5d67a939ea9974c6b5769e75642?
s=60&d=retro&r=g)

### 󠀁[Works for me as advertised](https://wordpress.org/support/topic/works-for-me-as-advertised/)󠁿

 [Marcel Pol](https://profiles.wordpress.org/mpol/) 2020 年 6 月 11 日

Works for me as advertised. Thank you.

![](https://secure.gravatar.com/avatar/993802d0e17cbe0daf8ff0a8c16fba971aeffa921aec90b214c631787074b1bc?
s=60&d=retro&r=g)

### 󠀁[Cool Plugin!](https://wordpress.org/support/topic/cool-plugin-338/)󠁿

 [Waren Gonzaga](https://profiles.wordpress.org/warengonzaga/) 2018 年 11 月 14 
日

Very helpful for me and the purpose is exactly what I need because I have a client
with unpaid invoices.

![](https://secure.gravatar.com/avatar/d1670bfc3f2cfd0b346dbdc3bf7241a5be72fb9458735c61f30d03aa0c5d9eb6?
s=60&d=retro&r=g)

### 󠀁[Disables a User Account](https://wordpress.org/support/topic/disables-a-user-account/)󠁿

 [shinerweb](https://profiles.wordpress.org/shinerweb/) 2017 年 9 月 12 日

Handy simple plugin for diabling an account when you don’t want/need to delete the
account (i.e a member who has left). This negates the need to delete that users 
content, comments or to attribute that users comment to another user. (Usage of 
a users data would be relevant to your site so bear that in mind). For situations
where you can disable a user from being able to log into your site, this simply 
plugin fills that need. A future improvement/suggestion would be to have any messages
configurable, or use a language file. Perhaps a ‘reason field’ so that if a disabled
user attempts to log in, not only the disabled message is displayed but an admin
configurable message displayed. But those are just nicities… for now, it does what
it says on the tin.

![](https://secure.gravatar.com/avatar/97041c50dfc3be7853b98d4ac758c9ad717f725d18a2f7a0f5434af5d3de9b5c?
s=60&d=retro&r=g)

### 󠀁[Works fine, some extra functionality would be good](https://wordpress.org/support/topic/works-fine-some-extra-functionality-would-be-good/)󠁿

 [juancalpizar](https://profiles.wordpress.org/juancalpizar/) 2017 年 5 月 26 日

Works as intended and perfectly but that’s it, there are no parameters or settings
to configure. If what it says it does in the description works for you go for it.
A shortcode would be helpful as well or any way to programmatically access it, i.
e when registering users right from the register code to automatically make the 
user disabled until it confirms the email account.

![](https://secure.gravatar.com/avatar/93cd2e8523e77fb3d9bf4d98345543f28f0990074fd4b2f8f3e0da1a3e2a94b2?
s=60&d=retro&r=g)

### 󠀁[Super](https://wordpress.org/support/topic/super-546/)󠁿

 [dhavalmodi0007](https://profiles.wordpress.org/dhavalmodi0007/) 2016 年 9 月 3
日

You can use this for your site to disable any user from admin access. Thanks

 [ 阅读所有6条评价 ](https://wordpress.org/support/plugin/wp-users-disable/reviews/)

## 贡献者及开发者

「Disable User Login」是开源软件。 以下人员对此插件做出了贡献。

贡献者

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

[帮助将「Disable User Login」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/wp-users-disable)

### 对开发感兴趣吗?

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

## 更新日志

#### 1.0.2

 1. Fixed bugs and conducted compatibility checks with the latest WordPress version
    6.7.1.
 2. Resolved warnings and errors identified during the compatibility assessment.

#### 1.0.1

_Release Date – 21 July 2024_

 * Tested and confirmed to be fully compatible with the latest version of WordPress.
 * Revamped the user interface for a more modern and user-friendly experience.
 * Optimized code for improved performance and reduced resource usage.
 * Reduced plugin size to minimize any potential impact on website loading speed.

## 额外信息

 *  版本 **1.0.2**
 *  最后更新：**2 年前**
 *  活跃安装数量 **500+**
 *  WordPress 版本 ** 4.0.0 或更高版本 **
 *  已测试的最高版本为 **6.7.5**
 *  语言
 * [English (US)](https://wordpress.org/plugins/wp-users-disable/)
 * 标签
 * [disable user](https://cn.wordpress.org/plugins/tags/disable-user/)
 *  [高级视图](https://cn.wordpress.org/plugins/wp-users-disable/advanced/)

## 评级

 4.8 星（最高 5 星）。

 *  [  5 条 5 星评价     ](https://wordpress.org/support/plugin/wp-users-disable/reviews/?filter=5)
 *  [  1 条 4 星评价     ](https://wordpress.org/support/plugin/wp-users-disable/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/wp-users-disable/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/wp-users-disable/reviews/?filter=2)
 *  [  0 条 1 星评价     ](https://wordpress.org/support/plugin/wp-users-disable/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/wp-users-disable/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/wp-users-disable/reviews/)

## 贡献者

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

## 支持

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

 [查看支持论坛](https://wordpress.org/support/plugin/wp-users-disable/)