Title: Disable logout confirmation
Author: MirrorORG
Published: <strong>2026 年 10 月 15 日</strong>
Last modified: 2026 年 10 月 15 日

---

搜尋外掛

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

# Disable logout confirmation

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

[下載](https://downloads.wordpress.org/plugin/disable-logout-confirmation.1.0.0.zip)

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

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

## 外掛說明

When a logout link has no security token — a menu item pointing to `wp-login.php?
action=logout`, a cached page, or the WooCommerce “Log out” link in some themes —
WordPress shows “You are attempting to log out of… Do you really want to log out?”
and WooCommerce shows “Are you sure you want to log out? Confirm and log out”. Visitors
have to click a second time.

This plugin logs the user out straight away instead.

 * Works with WordPress logout links (`wp-login.php?action=logout`).
 * Works with the WooCommerce My Account “customer-logout” endpoint.
 * Honors a safe `redirect_to` parameter on the link, the WooCommerce logout redirect
   page if one is set, and the standard `logout_redirect` filter.
 * No settings, no database tables, no external requests.

Developers can change the destination with the `dlc_logout_redirect_url` filter.

## 安裝方式

 1. Install the plugin from Plugins  Add New, or upload the `disable-logout-confirmation`
    folder to `/wp-content/plugins/`.
 2. Activate it. That’s all.

## 常見問題集

### Is it safe?

Logging out is the only thing a link without a token can do, and redirects are limited
to your own site (and hosts you allow with `allowed_redirect_hosts`). Links that
already carry a valid token are left to WordPress.

### Where do users land after logging out?

The `redirect_to` address on the link if it is safe, otherwise the login screen (
WordPress) or the My Account page (WooCommerce).

## 使用者評論

這個外掛目前沒有任何使用者評論。

## 參與者及開發者

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

參與者

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

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

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

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

## 變更記錄

#### 1.0.0

 * First release.

## 中繼資料

 *  版本 **1.0.0**
 *  最後更新 **1 天前**
 *  啟用安裝數 **少於 10 次**
 *  WordPress 版本需求 ** 5.6 或更新版本 **
 *  已測試相容的 WordPress 版本 **7.1.3**
 *  PHP 版本需求 ** 7.4 或更新版本 **
 *  語言
 * [English (US)](https://wordpress.org/plugins/disable-logout-confirmation/)
 * 標籤:
 * [confirmation](https://tw.wordpress.org/plugins/tags/confirmation/)[log out](https://tw.wordpress.org/plugins/tags/log-out/)
   [logout](https://tw.wordpress.org/plugins/tags/logout/)[redirect](https://tw.wordpress.org/plugins/tags/redirect/)
   [woocommerce](https://tw.wordpress.org/plugins/tags/woocommerce/)
 *  [進階檢視](https://tw.wordpress.org/plugins/disable-logout-confirmation/advanced/)

## 評分

這個項目尚無任何評論記錄。

[撰寫評分](https://wordpress.org/support/plugin/disable-logout-confirmation/reviews/#new-post)

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

## 參與者

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

## 技術支援

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

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