Linux 软件免费装
Banner图

Replai Disable Comments & Stop Spam

开发者 replai
更新时间 2026年9月8日 13:50
PHP版本: 7.2 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

comments remove comments stop spam spam protection disable comments

下载

1.0.9

详情介绍:

Replai Comments gives you full control over WordPress comments and stops comment spam — from its own admin section. Turn it on and choose where to disable comments: While active, Replai Comments: Live status A real-time panel tells you whether comments are actually open on the web and via the REST API, whether XML-RPC pingback and the X-Pingback header are removed, and — when comments are closed — why (by Replai Comments or by WordPress's Discussion settings / the post itself). Re-check any time. Cache-aware and editor-safe When you save settings or delete comments, Replai Comments purges common page caches (WP Rocket, LiteSpeed, W3 Total Cache, WP Super Cache, WP Fastest Cache, SG Optimizer, Cache Enabler) so a cached page never keeps serving the comment form. It also leaves the block editor "Notes" comment type (WordPress 6.9+) untouched. Bulk delete tool Clean your database with one click: permanently delete all comments, or only pending, spam or pingbacks/trackbacks, processed in batches with live counters. Everything runs on your own site, is fully reversible (turn the plugin off to bring comments back), and the whole admin is available in 7 languages (English, Spanish, Catalan, French, Italian, Portuguese and German) based on your site language. For developers: define REPLAI_DC_KEEP_TEMPLATE (true) to keep your theme's comment template, or REPLAI_DC_KEEP_DISCUSSION (true) to keep the Discussion settings page.

安装:

  1. Upload the replai-disable-comments folder to /wp-content/plugins/, or install it from the WordPress plugin directory.
  2. Activate the plugin.
  3. Open the Replai Comments menu, enable it, choose the scope and save.

升级注意事项:

1.0.9 Multilingual plugin description in the Plugins list. 1.0.8 Compatible with WordPress 7.1. 1.0.7 Code-standards fixes (PHPCS / VIP). 1.0.6 Cache purge on save/delete and block-editor Notes are left untouched. 1.0.5 Cleaner toggle header; Re-check now lives in the Live status panel. 1.0.4 Settings split into General and Delete tabs. 1.0.3 Live status shows why comments are closed (plugin vs WordPress). 1.0.2 Reorganised settings with live status in a side column. 1.0.1 Real-time comment-availability status (web & API) and a polished toggle. 1.0.0 Initial release.

常见问题:

I disabled comments but the form still shows. Why?

Some themes don't check the comment status correctly. Replai Comments also swaps the comment template for an empty one; if a message still appears, your theme is hard-coding it and you may need to edit the theme.

Does it delete my comments?

Only if you use the Delete comments tool. Disabling comments hides/closes them but does not remove them from the database.

Can I bring comments back?

Yes. Turn the plugin off (or disable it in settings) and WordPress comments work again. Deleted comments, however, cannot be recovered.

Does it stop spam sent via XML-RPC or the REST API?

Yes. It blocks comment creation through XML-RPC and the REST API, and removes pingback methods.

The comment form still shows after disabling — is it a cache?

Often, yes. Replai Comments clears the common page-cache plugins when you save or delete, but if you use another cache or a CDN, purge it once. The Live status panel checks the real state so you can confirm.

Does it affect the block editor "Notes" (WordPress 6.9+)?

No. The editor "Notes" comment type is excluded from both the API block and the bulk delete, so collaboration notes keep working.

Does it call any external service?

No. Everything runs locally on your site.

更新日志:

1.0.9 1.0.8 1.0.7 1.0.6 1.0.5 1.0.4 1.0.3 1.0.2 1.0.1 1.0.0