Title: User Login Disable
Author: chexwarrior
Published: <strong>2022 年 7 月 22 日</strong>
Last modified: 2022 年 7 月 22 日

---

搜尋外掛

這個外掛**並未在最新的 3 個 WordPress 主要版本上進行測試**。開發者可能不再對這個
外掛進行維護或提供技術支援，並可能會與更新版本的 WordPress 產生使用上的相容性問題。

![](https://s.w.org/plugins/geopattern-icon/user-login-disable.svg)

# User Login Disable

 由 [chexwarrior](https://profiles.wordpress.org/chexwarrior/) 開發

[下載](https://downloads.wordpress.org/plugin/user-login-disable.0.1.0.zip)

 * [詳細資料](https://tw.wordpress.org/plugins/user-login-disable/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/user-login-disable/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/user-login-disable/#installation)
 * [開發資訊](https://tw.wordpress.org/plugins/user-login-disable/#developers)

 [技術支援](https://wordpress.org/support/plugin/user-login-disable/)

## 外掛說明

This plugin allows administrators to enable or disable other user account’s logins.

When a user is disabled:
 * They can not login to the site * They are immediately
logged out of the site * Any [application passwords](https://make.wordpress.org/core/2020/11/05/application-passwords-integration-guide/)
created with this user will no longer authenticate with the WP REST API

#### WP-CLI Integration

This plugin integrates with WP-CLI and provides the following two commands:

    ```
    # Enables the target users
    wp user enable <List of User IDs, Logins or Emails> [--all]

    # Disables the target users
    wp user disable <List of User IDs, Logins or Emails> [--all]
    ```

### Support

This plugin is developed on the author’s own time so there is no guarantee that 
reported bugs will be fixed in a timely fashion.

To report a bug please visit the plugin’s [GitHub repository](https://github.com/ChexWarrior/wp-user-disable-login).

## 螢幕擷圖

 * [[
 * The Disable field on a user profile
 * [[
 * Disabled users on the admin user list page

## 安裝方式

#### Classic

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

#### Composer

 1. Check out the instructions [here](https://composer.rarst.net/)

## 常見問題集

### Why does this plugin exist?

Very specific audit reasons at a job of mine, and I couldn’t find another plugin
that did this w/o a ton of other unneeded functionality.

## 使用者評論

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

### 󠀁[Does what it says on the tin](https://wordpress.org/support/topic/does-what-it-says-on-the-tin-568/)󠁿

 [Youdaman](https://profiles.wordpress.org/youdaman/) 2023 年 5 月 25 日

As per the author’s FAQ, I just wanted a plugin that disabled users easily without
any extra bells and whistles. Extra points for the WP-CLI integration!

 [ 閱讀全部 1 則使用者評論 ](https://wordpress.org/support/plugin/user-login-disable/reviews/)

## 參與者及開發者

以下人員參與了開源軟體〈User Login Disable〉的開發相關工作。

參與者

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

[將〈User Login Disable〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/user-login-disable)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/user-login-disable/)、
查看 [SVN 存放庫](https://plugins.svn.wordpress.org/user-login-disable/)，或透過
[RSS](https://plugins.trac.wordpress.org/log/user-login-disable/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/user-login-disable/)。

## 變更記錄

#### 0.1

 * Initial Release

## 中繼資料

 *  版本 **0.1.0**
 *  最後更新 **4 年前**
 *  啟用安裝數 **10+**
 *  WordPress 版本需求 ** 5.6 或更新版本 **
 *  已測試相容的 WordPress 版本 **6.0.11**
 *  PHP 版本需求 ** 8.0 或更新版本 **
 *  語言
 * [English (US)](https://wordpress.org/plugins/user-login-disable/)
 * 標籤:
 * [audit](https://tw.wordpress.org/plugins/tags/audit/)[login](https://tw.wordpress.org/plugins/tags/login/)
   [security](https://tw.wordpress.org/plugins/tags/security/)[users](https://tw.wordpress.org/plugins/tags/users/)
 *  [進階檢視](https://tw.wordpress.org/plugins/user-login-disable/advanced/)

## 評分

 5 星，滿分為 5 星

 *  [  1 個 5 星使用者評論     ](https://wordpress.org/support/plugin/user-login-disable/reviews/?filter=5)
 *  [  0 個 4 星使用者評論     ](https://wordpress.org/support/plugin/user-login-disable/reviews/?filter=4)
 *  [  0 個 3 星使用者評論     ](https://wordpress.org/support/plugin/user-login-disable/reviews/?filter=3)
 *  [  0 個 2 星使用者評論     ](https://wordpress.org/support/plugin/user-login-disable/reviews/?filter=2)
 *  [  0 個 1 星使用者評論     ](https://wordpress.org/support/plugin/user-login-disable/reviews/?filter=1)

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

[查看全部使用者評論](https://wordpress.org/support/plugin/user-login-disable/reviews/)

## 參與者

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

## 技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

 [檢視技術支援論壇](https://wordpress.org/support/plugin/user-login-disable/)