Title: Auto-Close Comments, Pingbacks and Trackbacks
Author: Ajay
Published: <strong>2008 年 9 月 7 日</strong>
Last modified: 2026 年 8 月 13 日

---

搜尋外掛

![](https://ps.w.org/autoclose/assets/banner-772x250.png?rev=3612322)

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

# Auto-Close Comments, Pingbacks and Trackbacks

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

[下載](https://downloads.wordpress.org/plugin/autoclose.3.1.2.zip)

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

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

## 外掛說明

Spammers target old posts in a hope that you won’t notice the comments on them. 
Why not stop them in their tracks by just shutting off comments and pingbacks? [Auto-Close Comments, Pingbacks and Trackbacks](https://webberzone.com/plugins/autoclose/)
lets you automatically close comments, pingbacks and trackbacks on your posts, pages
and custom post types.

You can also choose to keep comments, pingbacks, or trackbacks open on certain posts,
pages or custom post types. Just enter a comma-separated list of post IDs in the
Settings page.

An extra feature is the ability to delete post revisions or limit their number.

Found a bug or want to contribute? PRs and issues welcome on [GitHub](https://github.com/WebberZone/autoclose).
For help, use the [support forum](https://wordpress.org/support/plugin/autoclose)
or [premium support](https://webberzone.com/support/).

### Key Features

 * Close (or open) comments on posts, pages, attachments and even Custom Post Types
 * Close (or open) pingbacks and trackbacks as well across all post types. You can
   also choose to delete them
 * Schedule a cron job to automatically close comments, pingbacks and trackbacks
   daily
 * Delete all post revisions or limit the number of revisions by post type
 * Exclude specific post IDs from auto-close
 * Exclude posts in specific categories, tags, or any taxonomy term from auto-close
 * Reopen comments automatically when a post is updated, with a configurable open
   window
 * Receive an email summary after each scheduled cron run showing what was closed
   or deleted
 * Block self-pings and custom ping URLs
 * Schedule the closing of comments, pingbacks, and trackbacks for the current post

## 螢幕擷圖

[⌊Autoclose Settings - General⌉⌊Autoclose Settings - General⌉[

Autoclose Settings – General

[⌊Autoclose Settings - Comments⌉⌊Autoclose Settings - Comments⌉[

Autoclose Settings – Comments

[⌊Autoclose Settings - Pingbacks/Trackbacks⌉⌊Autoclose Settings - Pingbacks/Trackbacks⌉[

Autoclose Settings – Pingbacks/Trackbacks

[⌊Autoclose Settings - Revisions⌉⌊Autoclose Settings - Revisions⌉[

Autoclose Settings – Revisions

[⌊Autoclose Tools⌉⌊Autoclose Tools⌉[

Autoclose Tools

## 安裝方式

#### WordPress install

 1. Navigate to Plugins within your WordPress Admin Area
 2. Click “Add new” and in the search box enter “autoclose”
 3. Find the plugin in the list (usually the first result) and click “Install Now”

#### Manual install

 1. Download the plugin
 2. Extract the contents of autoclose.zip to wp-content/plugins/ folder. You should
    get a folder called autoclose.
 3. Activate the Plugin in WP-Admin.
 4. Go to Settings » AutoClose to configure

## 常見問題集

### How do I exclude a post from auto-closing?

Enter the post ID in the settings page under “Exclude posts”.

### Will this plugin work with custom post types?

Yes! Auto-Close works with posts, pages, attachments, and any registered custom 
post types.

### Can I delete or limit revisions?

Yes, you can delete all revisions or set a limit per post type from the settings
page.

### How can I report security bugs?

You can report security bugs through the Patchstack Vulnerability Disclosure Program.
The Patchstack team help validate, triage and handle any security vulnerabilities.
[Report a security vulnerability.](https://patchstack.com/database/wordpress/plugin/autoclose/vdp)

## 使用者評論

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

## 參與者及開發者

以下人員參與了開源軟體〈Auto-Close Comments, Pingbacks and Trackbacks〉的開發相關
工作。

參與者

 *   [ Ajay ](https://profiles.wordpress.org/ajay/)
 *   [ WebberZone ](https://profiles.wordpress.org/webberzone/)

[將〈Auto-Close Comments, Pingbacks and Trackbacks〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/autoclose)

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

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

## 變更記錄

#### 3.1.2

 * Bug fixes:
    - Fixed an incorrect early translation loading notice in WordPress 6.7 and later
      by initializing admin components on the `init` action.

#### 3.1.1

 * Bug fixes:
    - Plugin re-activation now correctly re-schedules the cron job if the scheduler
      was previously enabled. Previously, the cron remained unscheduled until settings
      were manually re-saved.
    - Fixed per-post close date scheduling: when both a comments date and a pings
      date were set on the same post, only the first event was registered. Comments
      and pings events are now scheduled as distinct cron entries and both fire 
      correctly.
    - Fixed date comparison in the comment/ping closing query to use UTC time against`
      post_date_gmt`, preventing posts from being closed at the wrong time on servers
      where the PHP timezone differs from UTC.

#### 3.1.0

Release post: [https://webberzone.com/announcements/auto-close-v3-1-0/](https://webberzone.com/announcements/auto-close-v3-1-0/)

 * New features:
    - Exclude posts in specific categories, tags, or any taxonomy term from having
      comments or pingbacks/trackbacks closed.
    - Reopen comments automatically when a published post is saved or updated, with
      a configurable number of days before they are closed again by the cron.
    - Email summary notification after each scheduled cron run, showing the number
      of comments closed, pings closed, and revisions deleted.
 * Bug fixes:
    - Fixed undefined variable warnings when processing taxonomy term exclusions.
    - Fixed Settings API repeater fields: form submission, hidden input names, and
      sanitization with row ID lookup.
 * Modifications:
    - Update Settings API and other reusable classes in line with the latest WebberZone
      plugins.
    - Email summary now uses an HTML template for improved readability.
    - Term exclusion fields now use an autocomplete search (Tom Select) instead 
      of manual ID entry.

#### 3.0.0

Release post: [https://webberzone.com/announcements/auto-close-v3-0-0/](https://webberzone.com/announcements/auto-close-v3-0-0/)

Completely rewritten the plugin to use autoloading, namespaces and classes.

 * Features:
    - Added block ping URLs feature and self-pings feature.
    - Introduced a new meta box allowing users to schedule the closure of comments,
      pingbacks, and trackbacks for the current post.
 * Bug fixes:
    - Fixed PHP error/warnings about loading translations too early.

For older changes, refer to changelog.txt

## 中繼資料

 *  版本 **3.1.2**
 *  最後更新 **1 天前**
 *  啟用安裝數 **200+**
 *  WordPress 版本需求 ** 6.6 或更新版本 **
 *  已測試相容的 WordPress 版本 **7.1**
 *  PHP 版本需求 ** 7.4 或更新版本 **
 *  語言
 * [English (US)](https://wordpress.org/plugins/autoclose/)
 * 標籤:
 * [anti-spam](https://tw.wordpress.org/plugins/tags/anti-spam/)[comments](https://tw.wordpress.org/plugins/tags/comments/)
   [pingback](https://tw.wordpress.org/plugins/tags/pingback/)[revisions](https://tw.wordpress.org/plugins/tags/revisions/)
   [spam](https://tw.wordpress.org/plugins/tags/spam/)
 *  [進階檢視](https://tw.wordpress.org/plugins/autoclose/advanced/)

## 評分

 5 星，滿分為 5 星

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

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

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

## 參與者

 *   [ Ajay ](https://profiles.wordpress.org/ajay/)
 *   [ WebberZone ](https://profiles.wordpress.org/webberzone/)

## 技術支援

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

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

## 贊助

想要支援這個外掛的發展嗎？

 [ 贊助這個外掛 ](https://wzn.io/donate-wz)