{"id":361574,"date":"2026-09-08T05:51:17","date_gmt":"2026-09-08T05:51:17","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/replai-disable-comments-stop-spam\/"},"modified":"2026-09-08T05:50:42","modified_gmt":"2026-09-08T05:50:42","slug":"replai-disable-comments","status":"publish","type":"plugin","link":"https:\/\/pt.wordpress.org\/plugins\/replai-disable-comments\/","author":23235863,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.0.9","stable_tag":"1.0.9","tested":"7.1","requires":"6.2","requires_php":"7.2","requires_plugins":null,"header_name":"Replai Disable Comments & Stop Spam","header_author":"REPLAI","header_description":"Disable comments everywhere or on specific post types, hide existing comments, clean up the admin, block comments via XML-RPC and the REST API, remove pingbacks and comment feeds, and bulk-delete comments. Stops comment spam in one click.","assets_banners_color":"1599df","last_updated":"2026-09-08 05:50:42","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/replai.net\/wordpress\/","header_author_uri":"https:\/\/replai.net\/","rating":0,"author_block_rating":0,"active_installs":0,"downloads":35,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.9":{"tag":"1.0.9","author":"replai","date":"2026-09-08 05:50:42","revision":3685976}},"upgrade_notice":{"1.0.9":"<p>Multilingual plugin description in the Plugins list.<\/p>","1.0.8":"<p>Compatible with WordPress 7.1.<\/p>","1.0.7":"<p>Code-standards fixes (PHPCS \/ VIP).<\/p>","1.0.6":"<p>Cache purge on save\/delete and block-editor Notes are left untouched.<\/p>","1.0.5":"<p>Cleaner toggle header; Re-check now lives in the Live status panel.<\/p>","1.0.4":"<p>Settings split into General and Delete tabs.<\/p>","1.0.3":"<p>Live status shows why comments are closed (plugin vs WordPress).<\/p>","1.0.2":"<p>Reorganised settings with live status in a side column.<\/p>","1.0.1":"<p>Real-time comment-availability status (web &amp; API) and a polished toggle.<\/p>","1.0.0":"<p>Initial release.<\/p>"},"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3685977,"resolution":"128x128","location":"assets","locale":"","width":128,"height":128},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3685977,"resolution":"256x256","location":"assets","locale":"","width":256,"height":256}},"assets_banners":{"banner-1544x500-ca.png":{"filename":"banner-1544x500-ca.png","revision":3685977,"resolution":"1544x500","location":"assets","locale":"ca","width":1544,"height":500},"banner-1544x500-de_DE.png":{"filename":"banner-1544x500-de_DE.png","revision":3685977,"resolution":"1544x500","location":"assets","locale":"de_DE","width":1544,"height":500},"banner-1544x500-es_ES.png":{"filename":"banner-1544x500-es_ES.png","revision":3685977,"resolution":"1544x500","location":"assets","locale":"es_ES","width":1544,"height":500},"banner-1544x500-fr_FR.png":{"filename":"banner-1544x500-fr_FR.png","revision":3685977,"resolution":"1544x500","location":"assets","locale":"fr_FR","width":1544,"height":500},"banner-1544x500-it_IT.png":{"filename":"banner-1544x500-it_IT.png","revision":3685977,"resolution":"1544x500","location":"assets","locale":"it_IT","width":1544,"height":500},"banner-1544x500-pt_PT.png":{"filename":"banner-1544x500-pt_PT.png","revision":3685977,"resolution":"1544x500","location":"assets","locale":"pt_PT","width":1544,"height":500},"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3685977,"resolution":"1544x500","location":"assets","locale":"","width":1544,"height":500},"banner-772x250-ca.png":{"filename":"banner-772x250-ca.png","revision":3685977,"resolution":"772x250","location":"assets","locale":"ca","width":772,"height":250},"banner-772x250-de_DE.png":{"filename":"banner-772x250-de_DE.png","revision":3685977,"resolution":"772x250","location":"assets","locale":"de_DE","width":772,"height":250},"banner-772x250-es_ES.png":{"filename":"banner-772x250-es_ES.png","revision":3685977,"resolution":"772x250","location":"assets","locale":"es_ES","width":772,"height":250},"banner-772x250-fr_FR.png":{"filename":"banner-772x250-fr_FR.png","revision":3685977,"resolution":"772x250","location":"assets","locale":"fr_FR","width":772,"height":250},"banner-772x250-it_IT.png":{"filename":"banner-772x250-it_IT.png","revision":3685977,"resolution":"772x250","location":"assets","locale":"it_IT","width":772,"height":250},"banner-772x250-pt_PT.png":{"filename":"banner-772x250-pt_PT.png","revision":3685977,"resolution":"772x250","location":"assets","locale":"pt_PT","width":772,"height":250},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3685977,"resolution":"772x250","location":"assets","locale":"","width":772,"height":250}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.9"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3685977,"resolution":"1","location":"assets","locale":"","width":2880,"height":1294}},"screenshots":{"1":"General configuration: enable the plugin, choose where to disable comments (everywhere or specific post types) and fine-tune what to remove, alongside the live status panel showing comments closed on the web, blocked via the REST API and pingbacks\/X-Pingback removed."}},"plugin_section":[],"plugin_tags":[107,14833,5026,2419,12929],"plugin_category":[44],"plugin_contributors":[272765],"plugin_business_model":[],"class_list":["post-361574","plugin","type-plugin","status-publish","hentry","plugin_tags-comments","plugin_tags-disable-comments","plugin_tags-remove-comments","plugin_tags-spam-protection","plugin_tags-stop-spam","plugin_category-discussion-and-community","plugin_contributors-replai","plugin_committers-replai"],"banners":{"banner":"https:\/\/ps.w.org\/replai-disable-comments\/assets\/banner-772x250-pt_PT.png?rev=3685977","banner_2x":"https:\/\/ps.w.org\/replai-disable-comments\/assets\/banner-1544x500-pt_PT.png?rev=3685977","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/replai-disable-comments\/assets\/icon-128x128.png?rev=3685977","icon_2x":"https:\/\/ps.w.org\/replai-disable-comments\/assets\/icon-256x256.png?rev=3685977","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/replai-disable-comments\/assets\/screenshot-1.png?rev=3685977","caption":"General configuration: enable the plugin, choose where to disable comments (everywhere or specific post types) and fine-tune what to remove, alongside the live status panel showing comments closed on the web, blocked via the REST API and pingbacks\/X-Pingback removed."}],"raw_content":"<!--section=description-->\n<p><strong>Replai Comments<\/strong> gives you full control over WordPress comments and stops comment spam \u2014 from its own admin section.<\/p>\n\n<p>Turn it on and choose where to disable comments:<\/p>\n\n<ul>\n<li><strong>Everywhere<\/strong> on the site, or<\/li>\n<li><strong>Only on specific post types<\/strong> (posts, pages, media or your custom post types).<\/li>\n<\/ul>\n\n<p>While active, Replai Comments:<\/p>\n\n<ul>\n<li><strong>Closes comments and trackbacks<\/strong> and removes comment support from the selected content.<\/li>\n<li><strong>Hides existing comments<\/strong> on the front-end (optional), and swaps the theme's comment template for an empty one so no \"comments are closed\" message shows.<\/li>\n<li><strong>Cleans the admin<\/strong> \u2014 hides the Comments menu and admin-bar bubble, the \"Recent Comments\" dashboard widget, the comments list column and the Discussion settings page.<\/li>\n<li><strong>Blocks spam at the source<\/strong> \u2014 disables comments sent through <strong>XML-RPC<\/strong> and the <strong>REST API<\/strong>.<\/li>\n<li><strong>Removes pingbacks &amp; feeds<\/strong> \u2014 strips the <code>X-Pingback<\/code> header, disables outgoing pingbacks and comment RSS\/Atom feeds.<\/li>\n<\/ul>\n\n<p><strong>Live status<\/strong><\/p>\n\n<p>A real-time panel tells you whether comments are actually open on the <strong>web<\/strong> and via the <strong>REST API<\/strong>, whether XML-RPC pingback and the X-Pingback header are removed, and \u2014 when comments are closed \u2014 <strong>why<\/strong> (by Replai Comments or by WordPress's Discussion settings \/ the post itself). Re-check any time.<\/p>\n\n<p><strong>Cache-aware and editor-safe<\/strong><\/p>\n\n<p>When you save settings or delete comments, Replai Comments <strong>purges common page caches<\/strong> (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 <strong>\"Notes\"<\/strong> comment type (WordPress 6.9+) untouched.<\/p>\n\n<p><strong>Bulk delete tool<\/strong><\/p>\n\n<p>Clean your database with one click: permanently delete <strong>all<\/strong> comments, or only <strong>pending<\/strong>, <strong>spam<\/strong> or <strong>pingbacks\/trackbacks<\/strong>, processed in batches with live counters.<\/p>\n\n<p>Everything runs on your own site, is fully reversible (turn the plugin off to bring comments back), and the whole admin is available in <strong>7 languages<\/strong> (English, Spanish, Catalan, French, Italian, Portuguese and German) based on your site language.<\/p>\n\n<p>For developers: define <code>REPLAI_DC_KEEP_TEMPLATE<\/code> (true) to keep your theme's comment template, or <code>REPLAI_DC_KEEP_DISCUSSION<\/code> (true) to keep the Discussion settings page.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the <strong>replai-disable-comments<\/strong> folder to <code>\/wp-content\/plugins\/<\/code>, or install it from the WordPress plugin directory.<\/li>\n<li>Activate the plugin.<\/li>\n<li>Open the <strong>Replai Comments<\/strong> menu, enable it, choose the scope and save.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"i%20disabled%20comments%20but%20the%20form%20still%20shows.%20why%3F\"><h3>I disabled comments but the form still shows. Why?<\/h3><\/dt>\n<dd><p>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.<\/p><\/dd>\n<dt id=\"does%20it%20delete%20my%20comments%3F\"><h3>Does it delete my comments?<\/h3><\/dt>\n<dd><p>Only if you use the <strong>Delete comments<\/strong> tool. Disabling comments hides\/closes them but does not remove them from the database.<\/p><\/dd>\n<dt id=\"can%20i%20bring%20comments%20back%3F\"><h3>Can I bring comments back?<\/h3><\/dt>\n<dd><p>Yes. Turn the plugin off (or disable it in settings) and WordPress comments work again. Deleted comments, however, cannot be recovered.<\/p><\/dd>\n<dt id=\"does%20it%20stop%20spam%20sent%20via%20xml-rpc%20or%20the%20rest%20api%3F\"><h3>Does it stop spam sent via XML-RPC or the REST API?<\/h3><\/dt>\n<dd><p>Yes. It blocks comment creation through XML-RPC and the REST API, and removes pingback methods.<\/p><\/dd>\n<dt id=\"the%20comment%20form%20still%20shows%20after%20disabling%20%E2%80%94%20is%20it%20a%20cache%3F\"><h3>The comment form still shows after disabling \u2014 is it a cache?<\/h3><\/dt>\n<dd><p>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.<\/p><\/dd>\n<dt id=\"does%20it%20affect%20the%20block%20editor%20%22notes%22%20%28wordpress%206.9%2B%29%3F\"><h3>Does it affect the block editor \"Notes\" (WordPress 6.9+)?<\/h3><\/dt>\n<dd><p>No. The editor \"Notes\" comment type is excluded from both the API block and the bulk delete, so collaboration notes keep working.<\/p><\/dd>\n<dt id=\"does%20it%20call%20any%20external%20service%3F\"><h3>Does it call any external service?<\/h3><\/dt>\n<dd><p>No. Everything runs locally on your site.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0.9<\/h4>\n\n<ul>\n<li>The plugin description in the Plugins list now follows your site language (7 languages), like the rest of the admin.<\/li>\n<\/ul>\n\n<h4>1.0.8<\/h4>\n\n<ul>\n<li>Tested and compatible with WordPress 7.1.<\/li>\n<\/ul>\n\n<h4>1.0.7<\/h4>\n\n<ul>\n<li>Code standards: sanitize post-type input, drop suppress_filters in status queries, and annotate the core\/third-party hooks used for live status and cache purging (PHPCS \/ VIP).<\/li>\n<\/ul>\n\n<h4>1.0.6<\/h4>\n\n<ul>\n<li>New: purges common page caches (WP Rocket, LiteSpeed, W3TC, WP Super Cache, WP Fastest Cache, SG Optimizer, Cache Enabler) when settings are saved or comments are deleted.<\/li>\n<li>New: excludes the block editor \"Notes\" comment type (WordPress 6.9+) from the API block and bulk delete.<\/li>\n<\/ul>\n\n<h4>1.0.5<\/h4>\n\n<ul>\n<li>UI: moved the Re-check button to the Live status panel and removed the Open link from the toggle header.<\/li>\n<\/ul>\n\n<h4>1.0.4<\/h4>\n\n<ul>\n<li>UI: the admin is now split into two tabs \u2014 General configuration and Delete comments \u2014 using the native WordPress tab style.<\/li>\n<\/ul>\n\n<h4>1.0.3<\/h4>\n\n<ul>\n<li>Live status now explains why web comments are closed: by Replai Comments or by WordPress (Discussion settings or the post itself).<\/li>\n<\/ul>\n\n<h4>1.0.2<\/h4>\n\n<ul>\n<li>UI: settings reorganised into General configuration (with the live status shown in a right column) and a separate Delete comments section.<\/li>\n<\/ul>\n\n<h4>1.0.1<\/h4>\n\n<ul>\n<li>New: real-time status panel showing whether comments are open on the web, via REST API, XML-RPC pingback and the X-Pingback header, with a Re-check button.<\/li>\n<li>New: enable switch redesigned to match the Replai family (toggle + status pill + Open + Re-check).<\/li>\n<li>Hardening: sanitize post-type input and remove interpolated SQL in the delete tool (PHPCS).<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial release: disable comments everywhere or per post type; hide existing comments; clean the admin (menus, admin bar, dashboard widget, list column, Discussion page); block comments via XML-RPC and REST API; remove X-Pingback, outgoing pingbacks and comment feeds; bulk-delete comments (all, pending, spam, pingbacks); multilingual admin.<\/li>\n<\/ul>","raw_excerpt":"Disable comments everywhere or per post type, clean the admin, block spam via XML-RPC &amp; REST, remove pingbacks, and bulk-delete comments.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/pt.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/361574","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pt.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/pt.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/pt.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=361574"}],"author":[{"embeddable":true,"href":"https:\/\/pt.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/replai"}],"wp:attachment":[{"href":"https:\/\/pt.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=361574"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/pt.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=361574"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/pt.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=361574"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/pt.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=361574"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/pt.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=361574"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/pt.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=361574"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}