Title: Noncensible
Author: Roy Orbitson
Published: <strong>2021 年 6 月 2 日</strong>
Last modified: 2025 年 10 月 28 日

---

搜尋外掛

![](https://ps.w.org/noncensible/assets/icon.svg?rev=2540988)

# Noncensible

 由 [Roy Orbitson](https://profiles.wordpress.org/lev0/) 開發

[下載](https://downloads.wordpress.org/plugin/noncensible.1.2.0.zip)

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

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

## 外掛說明

The core functions’ documentation states that nonces, small validity tokens used
throughout WordPress core and other plugins, have a lifespan of 1 day, however they
can last as little as half that time. For common usage that may not be a problem,
but if that lifespan is relied upon in any meaningful way, inexplicable failures
can occur. For example, filters that shorten the lifespan may randomly make it difficult
to complete some tasks before their nonce expires. Very long lifespans, such as 
those set by many caching and SEO optimization plugins, can result in forms and 
other actions suddenly breaking before the cached content expires and new nonces
get generated. Imagine a contact form that’s cached for a week but stops working
after 4 days, then starts working again if that cache is cleared. A cursory search
for terms like `caching nonce expired wordpress` yields many results for relevant
problems.

This plugin guarantees a nonce will last _at least_ as long as it’s intended to,
but up to ⅛ of a lifepsan more. By default, this means a nonce will last from 24
up to 27 hours, rather than anywhere from 12 to 24 hours. It was created because
changing the behaviour of such old code was deemed inappropriate (in [ticket #53236](https://core.trac.wordpress.org/ticket/53236)),
given the functions are pluggable.

Hourglass icon by [mavadee](https://www.flaticon.com/authors/mavadee).

## 安裝方式

 1. Install the plugin in the usual way, through the admin interface by uploading manually
    or searching on the **Plugins** page.
 2. Clear _all_ caching plugins’ content.
 3. Test that forms, etc. on your site are still working. You may need to force-reload
    affected pages first, and clear your browser’s cache.

## 使用者評論

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

## 參與者及開發者

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

參與者

 *   [ Roy Orbitson ](https://profiles.wordpress.org/lev0/)

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

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

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

## 變更記錄

#### 1.2.0

Make the `NONCENSIBLE_TICKS_PER_NONCE_LIFE` constant overridable in config, in case
you want lower or higher resolution than 8, but still need the guaranteed lifespan.

#### 1.1.0

Compatibility with WP v6.1: passing `wp_verify_nonce()`‘s `$action` parameter to`
wp_nonce_tick()`.

## 中繼資料

 *  版本 **1.2.0**
 *  最後更新 **7 個月前**
 *  啟用安裝數 **20+**
 *  WordPress 版本需求 ** 2.5.0 或更新版本 **
 *  已測試相容的 WordPress 版本 **6.8.5**
 *  PHP 版本需求 ** 5.4.0 或更新版本 **
 *  語言
 * [English (US)](https://wordpress.org/plugins/noncensible/)
 * 標籤:
 * [cache](https://tw.wordpress.org/plugins/tags/cache/)[nonce](https://tw.wordpress.org/plugins/tags/nonce/)
   [Optimize](https://tw.wordpress.org/plugins/tags/optimize/)[performance](https://tw.wordpress.org/plugins/tags/performance/)
 *  [進階檢視](https://tw.wordpress.org/plugins/noncensible/advanced/)

## 評分

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

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

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

## 參與者

 *   [ Roy Orbitson ](https://profiles.wordpress.org/lev0/)

## 技術支援

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

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