Title: Clear Logout
Author: Ayesh Karunaratne
Published: <strong>2020 年 1 月 25 日</strong>
Last modified: 2023 年 7 月 23 日

---

搜尋外掛

![](https://ps.w.org/clear-logout/assets/banner-772x250.jpg?rev=2237972)

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

![](https://ps.w.org/clear-logout/assets/icon-256x256.png?rev=2237972)

# Clear Logout

 由 [Ayesh Karunaratne](https://profiles.wordpress.org/ayeshrajans/) 開發

[下載](https://downloads.wordpress.org/plugin/clear-logout.1.4.zip)

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

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

## 外掛說明

This plugin ensures that when users of your website (including site administrators),
the browsers are instructed to clear all residue such as cookies and caches to enhance
the security.

[`Clear-Site-Data` HTTP header](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Clear-Site-Data)
is sent when a user logs out, which supported browsers will react by removing all
existing cookies, cache, and other storage. It will **not** remove saved passwords,
permissions, adblocker rules, and other data that are supposed to be permanent.

This plugin prevents possible security vulnerabilities such as clicking the “Back”
button in the browser after logging out revealing the pages that should not have
been accessible after logging out. Furthermore, this cleans the browser cache, which
prevents accessing authenticated media assets (such as purchased images) from the
browser cache of a victim.

## 安裝方式

 1. Upload the downloaded plugin directory to `/wp-content/plugins/` directory, or 
    install the plugin through the WordPress plugins screen directly.
 2. Activate the plugin from the ‘Plugins’ screen in WordPress.
 3. You are all set! There is nothing to configure. When users logout, the `Clear-Site-
    Data` header will be sent automatically.

## 常見問題集

### Will this plugin remove saved passwords?

No. This will clear all cookies associated with your WordPress site, but not the
permanent data such as passwords, permissions, etc.

### Which browsers support `Clear-Site-Data` header?

All mainstream browsers do. Google Chrome 61+, Firefox 63+, and their current mobile
browsers. As of now, Microsoft Edge (non-Chrome versions) does NOT support this 
header.

### Why does the WordPress core does not set this header by itself?

Clear-Site-Data header is a relatively new header. I will be working with WordPress
core team to get this into core. Until then, we have this plugin.

## 使用者評論

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

## 參與者及開發者

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

參與者

 *   [ Ayesh Karunaratne ](https://profiles.wordpress.org/ayeshrajans/)

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

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

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

## 變更記錄

#### 1.0

 * Initial release.

#### 1.1

 * Update supported up-to version number.

#### 1.2

 * Update supported up-to version number.

#### 1.4

 * Requires PHP 7.1+
 * Tested upto WordPress 6.3

## 中繼資料

 *  版本 **1.4**
 *  最後更新 **3 年前**
 *  啟用安裝數 **90+**
 *  WordPress 版本需求 ** 5.1 或更新版本 **
 *  已測試相容的 WordPress 版本 **6.3.8**
 *  PHP 版本需求 ** 7.1 或更新版本 **
 *  語言
 * [English (US)](https://wordpress.org/plugins/clear-logout/)
 * 標籤
 * [authentication](https://tw.wordpress.org/plugins/tags/authentication/)[logout](https://tw.wordpress.org/plugins/tags/logout/)
   [password](https://tw.wordpress.org/plugins/tags/password/)[security](https://tw.wordpress.org/plugins/tags/security/)
 *  [進階檢視](https://tw.wordpress.org/plugins/clear-logout/advanced/)

## 評分

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

[Your review](https://wordpress.org/support/plugin/clear-logout/reviews/#new-post)

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

## 參與者

 *   [ Ayesh Karunaratne ](https://profiles.wordpress.org/ayeshrajans/)

## 技術支援

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

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