Title: Uncomment &#8211; Disable Comments
Author: Plugin Pizza
Published: <strong>2021 年 12 月 28 日</strong>
Last modified: 2026 年 6 月 6 日

---

搜索插件

![](https://ps.w.org/uncomment/assets/banner-772-250.png?rev=3126336)

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

# Uncomment – Disable Comments

 作者：[Plugin Pizza](https://profiles.wordpress.org/pluginpizza/)

[下载](https://downloads.wordpress.org/plugin/uncomment.1.2.2.zip)

[实时预览](https://cn.wordpress.org/plugins/uncomment/?preview=1)

 * [详情](https://cn.wordpress.org/plugins/uncomment/#description)
 * [评价](https://cn.wordpress.org/plugins/uncomment/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/uncomment/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/uncomment/#developers)

 [支持](https://wordpress.org/support/plugin/uncomment/)

## 描述

Your one-stop shop to completely disable comments and remove all comment functionality
and interface elements from your theme and administration screens.

While WordPress allows you to disable comments site-wide via the comments setting
screen, the Uncomment plugin goes one step further and disables or hides all interface
elements and other functionality related to comments on your WordPress site.

Starting with Uncomment consists of just two steps: installing and activating the
plugin. Uncomment is designed to disable or hide commenting functionality on your
WordPress site without any additional settings. Uncomment also works great as a 
must-use plugin.

### Bug Reports

Do you want to report a bug or suggest a feature for Uncomment? Best to do so in
the [Uncomment repository on GitHub](https://github.com/pluginpizza/uncomment/).

## 安装

Starting with Uncomment consists of just two steps: installing and activating the
plugin. Uncomment is designed to disable or hide commenting functionality on your
WordPress site without any additional settings. Uncomment also works great as a 
must-use plugin.

### Install Uncomment from within WordPress

 1. Visit the Plugins page within your dashboard and select ‘Add New’
 2. Search for ‘Uncomment’
 3. Activate Uncomment from your Plugins page

### Install Uncomment manually

 1. Upload the ‘uncomment’ folder to the /wp-content/plugins/ directory
 2. Activate the Uncomment plugin through the ‘Plugins’ menu in WordPress

Uncomment contains a `GitHub Plugin URI` plugin header to support updates via the
[Git Updater](https://git-updater.com/) plugin.

## 常见问题

### Does this plugin delete existing comments from the database?

Uncomment does not delete any existing comments from the database.

### Does this plugin delete existing comment blocks from the post content?

Uncomment does not delete any existing comment blocks from the post content. It 
does prevent displaying comment blocks on your site by replacing their output with
an empty string.

### Can I enable comments for a specific post or post type?

Uncomment is designed to completely disable or hide all comments and commenting 
functionality on your WordPress site. It does not provide any settings to enable
comments for specific posts or post types.

### I’m still seeing comments on my site?

Uncomment uses WordPress core actions, filters and functions to hide or disable 
comments and comment-related elements. It is possible that your theme or another
plugin uses its own custom comment elements or functions. In that case, the Uncomment
plugin is unable to remove those elements.

If you spot any WordPress core comment functionality that should have been removed
by the Uncomment plugin, please let us know by opening an [issue](https://github.com/pluginpizza/uncomment/issues/)
or [pull request](https://github.com/pluginpizza/uncomment/pulls/) on Github.

## 评价

此插件暂无评价。

## 贡献者及开发者

「Uncomment – Disable Comments」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Plugin Pizza ](https://profiles.wordpress.org/pluginpizza/)
 *   [ Barry Ceelen ](https://profiles.wordpress.org/barryceelen/)

[帮助将「Uncomment – Disable Comments」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/uncomment)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/uncomment/)，查看[SVN仓库](https://plugins.svn.wordpress.org/uncomment/)，
或通过[RSS](https://plugins.trac.wordpress.org/log/uncomment/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/uncomment/)。

## 更新日志

#### 1.2.2

Release Date: January 2nd, 2026

 * Fix missing exclusions for new core comments blocks.
 * Fix incorrect use of is_a() when removing admin bar items.
 * Fix coding standards issues.

#### 1.2.1

Release Date: December 19th, 2023

 * Fix missing exclusion for the core/comments block.
 * Fix deprecated ${var} in strings. Props @claytoncollie

#### 1.2.0

Release Date: November 13th, 2023

 * Update tested up to version.
 * Update cloned comment_feed_links() function for WP version < 6.1.0

#### 1.1.0

Release Date: January 17th, 2023

 * Add missing i18n namespace
 * Use filters to remove comment feed links for WP version => 6.1.0

WordPress 6.1.0 [introduces filters](https://core.trac.wordpress.org/changeset/54161)
that allow us to specify whether to display the post comments feed link. For versions
lower than 6.1.0 we’ll still replace the core [feed_links_extra()](https://developer.wordpress.org/reference/functions/feed_links_extra/)
function with [our own near-identical one](https://github.com/pluginpizza/uncomment/blob/main/includes/feeds.php#L41).

#### 1.0.4

Release Date: September 14th, 2022

 * Remove Akismet plugin notice. Useful on multisite installs where Akismet is network
   activated or on VIP Go environments.

#### 1.0.3

Release Date: May 16th, 2022

 * Prevent inserting the new comment-related blocks included with WordPress 6.0 
   into a post.
 * Disable showing comment-related blocks on the frontend.

Note that Uncomment aims to not touch any existing content. Comment-related blocks
that have already been added to a post will still be visible in the editor. They
will not be rendered when a site visitor views the post.

#### 1.0.2

Release Date: January 27th, 2022

 * Update tested up to version.

#### 1.0.1

Release Date: January 27th, 2022

 * Fix removing comment items from the network admin bar.
 * Remove Akismet plugin “At a Glance” section.

#### 1.0

Release Date: November 25th, 2021

 * Initial release.

## 额外信息

 *  版本 **1.2.2**
 *  最后更新：**2 周前**
 *  活跃安装数量 **100+**
 *  WordPress 版本 ** 4.6 或更高版本 **
 *  已测试的最高版本为 **7.0**
 *  PHP 版本 ** 5.3 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/uncomment/)
 * 标签
 * [comments](https://cn.wordpress.org/plugins/tags/comments/)[disable](https://cn.wordpress.org/plugins/tags/disable/)
   [disable comments](https://cn.wordpress.org/plugins/tags/disable-comments/)[remove comments](https://cn.wordpress.org/plugins/tags/remove-comments/)
   [spam comments](https://cn.wordpress.org/plugins/tags/spam-comments/)
 *  [高级视图](https://cn.wordpress.org/plugins/uncomment/advanced/)

## 评级

尚未提交反馈。

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

[查看全部评论](https://wordpress.org/support/plugin/uncomment/reviews/)

## 贡献者

 *   [ Plugin Pizza ](https://profiles.wordpress.org/pluginpizza/)
 *   [ Barry Ceelen ](https://profiles.wordpress.org/barryceelen/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/uncomment/)