跳到内容

Delta Dev Comment Lockdown

v1.0.0

Delta Dev · 2026年8月28日 上架

Lock down the WordPress comment attack surface with layered protections while preserving existing comment data.

正在使用
10 以下
评分
暂无
累计下载
270
最近更新
2026年8月28日
需要 WordPress 6.0+已测试到 7.1.5PHP 7.4+

贡献者

Delta Dev Comment Lockdown is a security-focused comment attack-surface hardening plugin developed by Delta Dev for WordPress sites that do not need the native comment system.

Instead of only hiding a comment form, the plugin applies multiple independent WordPress-native protection layers. It closes public commenting, blocks direct and core comment creation paths, removes core REST comment routes, disables comment-related XML-RPC/pingback surfaces, blocks comment feeds, and can remove related admin surfaces. It does not modify WordPress core files and it does not delete existing comments.

Default protections include:

  • Forces comments closed on the public site.
  • Hides existing comments without deleting them.
  • Blocks normal WordPress comment submissions with HTTP 403.
  • Stops new comments in the core comment approval pipeline.
  • Removes and blocks the core REST API /wp/v2/comments endpoints.
  • Disables pingbacks and trackbacks.
  • Removes WordPress XML-RPC comment and pingback methods.
  • Removes the X-Pingback response header.
  • Disables comment-feed discovery links and direct comment-feed requests.
  • Removes Comments and Trackbacks support from registered post types.
  • Hides the Comments admin menu, toolbar item, and Recent Comments dashboard widget.

All protections can be configured from Settings > Comment Lockdown. Strict protection is enabled by default.

Security design

  • Uses WordPress core hooks and APIs instead of modifying core files.
  • Uses a defense-in-depth approach so disabling a theme comment form is not the only control.
  • Settings are restricted to administrators with manage_options.
  • Settings are saved through the WordPress Settings API and sanitized to strict boolean values.
  • Admin output is escaped before rendering.
  • No arbitrary code execution, file manager, remote executable downloads, telemetry, licensing gate, or external service is included.

Privacy

Delta Dev Comment Lockdown does not collect, store, transmit, or sell personal data. It does not use analytics, telemetry, cookies, external APIs, or third-party services.

Compatibility note

Some plugins use the native WordPress comment system for other features. WooCommerce product reviews are a common example. Enabling all protections can disable those comment-based review flows.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums