PluginProbe ʕ •ᴥ•ʔ
Disable Comments – Remove Comments & Stop Spam [Multi-Site Support] / 1.10.3
Disable Comments – Remove Comments & Stop Spam [Multi-Site Support] v1.10.3
trunk 1.1.1 1.10.0 1.10.3 1.11.0 1.5 1.5.1 1.5.2 1.6 1.7 1.7.1 1.8.0 1.9.0 2.0.0 2.0.1 2.0.2 2.1.0 2.1.1 2.1.2 2.2.0 2.2.1 2.2.2 2.2.3 2.2.4 2.3.0 2.3.1 2.3.2 2.3.3 2.3.4 2.3.5 2.3.6 2.4.0 2.4.1 2.4.2 2.4.3 2.4.4 2.4.5 2.4.6 2.4.7 2.5.0 2.5.1 2.5.2 2.5.3 2.6.0 2.6.1 2.6.2 2.7.0
disable-comments / readme.txt
disable-comments Last commit date
assets 5 years ago includes 6 years ago languages 6 years ago src 5 years ago disable-comments.php 5 years ago readme.txt 5 years ago uninstall.php 6 years ago
readme.txt
282 lines
1 === Disable Comments ===
2 Contributors: Asif2BD, priyomukul, wpdevteam, re_enter_rupok, solarissmoke, garrett-eclipse
3 Donate link: https://wpdeveloper.net/
4 Tags: comments, disable, global, disable comments, delete comments, stop spam, bulk comment delete, comment management
5 Requires at least: 5.0
6 Tested up to: 5.5
7 Requires PHP: 5.4
8 Stable tag: 1.10.3
9 License: GPL-3.0-or-later
10 License URI: https://www.gnu.org/licenses/gpl-3.0.html
11
12 Allows administrators to globally disable comments on their site. Comments can be disabled according to post type. Multisite friendly. Provides tool to delete all comments or according to post type.
13
14 == Description ==
15
16 This plugin allows administrators to globally disable comments on any post type (posts, pages, attachments, etc.) so that these settings cannot be overridden for individual posts. It also removes all comment-related fields from edit and quick-edit screens. On multisite installations, it can be used to disable comments on the entire network.
17
18 Additionally, comment-related items can be removed from the Dashboard, Widgets, the Admin Menu and the Admin Bar.
19
20 **Important note**: Use this plugin if you don't want comments at all on your site (or on certain post types). Don't use it if you want to selectively disable comments on individual posts - WordPress lets you do that anyway. If you don't know how to disable comments on individual posts, there are instructions in [the FAQ](https://wordpress.org/plugins/disable-comments/faq/).
21
22 If you come across any bugs or have suggestions, please use the plugin support forum. I can't fix it if I don't know it's broken! Please check the [FAQ](https://wordpress.org/plugins/disable-comments/faq/) for common issues.
23
24 Want to contribute? Here's the [GitHub development repository](https://github.com/WPDevelopers/disable-comments).
25
26 A [must-use version](https://github.com/WPDevelopers/disable-comments-mu) of the plugin is also available.
27
28
29 ### Details
30
31 The plugin provides the option to **completely disable the commenting feature in WordPress**. When this option is selected, the following changes are made:
32
33 * All "Comments" links are hidden from the Admin Menu and Admin Bar;
34 * All comment-related sections ("Recent Comments", "Discussion" etc.) are hidden from the WordPress Dashboard;
35 * All comment-related widgets are disabled (so your theme cannot use them);
36 * The "Discussion" settings page is hidden;
37 * All comment RSS/Atom feeds are disabled (and requests for these will be redirected to the parent post);
38 * The X-Pingback HTTP header is removed from all pages;
39 * Outgoing pingbacks are disabled.
40
41 **Please delete any existing comments on your site before applying this setting, otherwise (depending on your theme) those comments may still be displayed to visitors. You can use the Delete Comments tool to delete any existing comments on your site.**
42
43 ### Advanced Configuration
44
45 Some of the plugin's behaviour can be modified by site administrators and plugin/theme developers through code:
46
47 * Define `DISABLE_COMMENTS_REMOVE_COMMENTS_TEMPLATE` and set it to `false` to prevent the plugin from replacing the theme's comment template with an empty one.
48
49 * Define `DISABLE_COMMENTS_ALLOW_DISCUSSION_SETTINGS` and set it to `true` to prevent the plugin from hiding the Discussion settings page.
50
51 These definitions can be made either in your main `wp-config.php` or in your theme's `functions.php` file.
52
53
54 ### This plugin is maintained by the [WPDeveloper](https://wpdeveloper.net/).
55
56
57 ### 💙 LOVED Disable Comments?
58
59 - Join our [Facebook Group](https://www.facebook.com/groups/wpdeveloper.net/)
60
61 - If you love Disable Comments, [rate us on WordPress](https://wordpress.org/support/plugin/disable-comments/reviews/?filter=5)
62
63
64 🔥 GET FREEBIES FOR YOUR WORDPRESS SITE
65
66 Consider checking out our other WordPress solutions & boost your WordPress website:
67
68 🔝 [Essential Addons For Elementor](https://wordpress.org/plugins/essential-addons-for-elementor-lite/): Most popular Elementor addons with 70+ widgets & ready blocks
69
70 🔔[NotificationX](https://notificationx.com/) – Best Social Proof & FOMO Marketing Solution to increase conversion rates.
71
72 📄 [EmbedPress](https://wordpress.org/plugins/embedpress/): EmbedPress lets you embed videos, images, posts, audio, maps and upload PDF, DOC, PPT & all other types of content into your WordPress site with one-click and showcase it beautifully for the visitors.
73
74 ☁ [Templately](https://wordpress.org/plugins/templately/): Free templates library for Elementor & Gutenberg along with the cloud collaboration for WordPress.
75
76 📚 [BetterDocs](https://wordpress.org/plugins/betterdocs/): Best Documentation & Knowledge Base Plugin for WordPress reduce manual support tickets & improve user experience.
77
78 ⏰ [WP Scheduled Posts](https://wordpress.org/plugins/wp-scheduled-posts/): Advanced editorial calendar & complete solution for WordPress Post Scheduling, social sharing, missed scheduled alerts and more.
79
80 ⭐ [ReviewX](https://wordpress.org/plugins/reviewx/): WooCommerce Product review plugin that allows users to submit product reviews with multiple criteria, photos, video and more.
81
82 ⚡ [Flexia](http://wordpress.org/plugins/flexia): Most lightweight, customizable & multi purpose theme for WordPress.
83
84
85 Visit [WPDeveloper](https://wpdeveloper.net/) to learn more about how to do better in WordPress with [Help Tutorial, Tips & Tricks](https://wpdeveloper.net/blog).
86
87
88
89 == Installation ==
90
91 = Modern Way: =
92 1. Go to the WordPress Dashboard "Add New Plugin" section.
93 2. Search For "Disable Comments".
94 3. Install, then Activate it.
95 4. The plugin settings can be accessed via the 'Settings' menu in the administration area (either your site administration for single-site installs, or your network administration for network installs).
96
97 = Old Way: =
98 1. Upload the plugin folder to the `/wp-content/plugins/` directory
99 2. Activate the plugin through the 'Plugins' menu in WordPress
100 3. The plugin settings can be accessed via the 'Settings' menu in the administration area (either your site administration for single-site installs, or your network administration for network installs).
101
102
103
104 == Frequently Asked Questions ==
105
106 = Nothing happens after I disable comments on all posts - comment forms still appear when I view my posts. =
107
108 This is because your theme is not checking the comment status of posts in the correct way.
109
110 You may like to point your theme's author to [this explanation](http://www.rayofsolaris.net/blog/2012/how-to-check-if-comments-are-allowed-in-wordpress/) of what they are doing wrong, and how to fix it.
111
112 = How can I remove the text that says "comments are closed" at the bottom of articles where comments are disabled? =
113
114 The plugin tries its very best to hide this (and any other comment-related) messages.
115
116 If you still see the message, then it means your theme is overriding this behaviour, and you will have to edit its files manually to remove it. Two common approaches are to either delete or comment out the relevant lines in `wp-content/your-theme/comments.php`, or to add a declaration to `wp-content/your-theme/style.css` that hides the message from your visitors. In either case, make you you know what you are doing!
117
118 = I only want to disable comments on certain posts, not globally. What do I do? =
119
120 Don't install this plugin!
121
122 Go to the edit page for the post you want to disable comments on. Scroll down to the "Discussion" box, where you will find the comment options for that post. If you don't see a "Discussion" box, then click on "Screen Options" at the top of your screen, and make sure the "Discussion" checkbox is checked.
123
124 You can also bulk-edit the comment status of multiple posts from the [posts screen](https://codex.wordpress.org/Posts_Screen).
125
126 = I want to delete comments from my database. What do I do? =
127
128 Go to the tools page for the Disable Comments plugin and utlize the Delete Comments tool to delete all comments or according to the specified post types from your database.
129
130
131
132 == Screenshots ==
133
134 1. Setting Screen for Disable Comments
135 2. Delete Comments under Tools menu.
136
137
138
139 == Changelog ==
140
141 The format is based on [Keep a Changelog](http://keepachangelog.com/)
142 and this project adheres to [Semantic Versioning](http://semver.org/).
143 This will be maiintained from August 19, 2020 - @asif2bd
144
145 = [1.10.3] - 2020-07-29 =
146 * Minor fix - changelog backported.
147
148 = 1.10.0 =
149 * Disable "recent comments" Gutenberg block.
150
151 = 1.9.0 =
152 * Fix compatibility with WordPress 5.0 and above.
153 * Remove deprecated "persistent mode" feature.
154
155 = 1.8.0 =
156 * Added `DISABLE_COMMENTS_ALLOW_DISCUSSION_SETTINGS` configuration.
157
158 = 1.7.1 =
159 * Small enhancements to hiding comment-related functionality in the admin.
160
161 = 1.7 =
162 * Dropped logic to try and hide the comments link from the Meta widget. Administrators should manually add styling to hide this link, or replace the Meta widget with an alternative.
163 * Removed the `disable_comments_allow_persistent_mode` filter. Define `DISABLE_COMMENTS_ALLOW_PERSISTENT_MODE` instead.
164
165 = 1.6 =
166 * Added a tool for deleting comments in bulk.
167
168 = 1.5.2 =
169 * Fix Javascript errors when the Meta widget is enabled.
170 * Hide comments link from the Welcome panel.
171
172 = 1.5.1 =
173 * Hide existing comments if there are any.
174 * Filter the comments link in the Meta widget if it is enabled.
175
176 = 1.5 =
177 * Remove the comments feed link from the head in WP 4.4 and higher.
178
179 = 1.4.2 =
180 * Delay loading of translation text domain until all plugins are loaded. This allows plugins to modify translations.
181
182 = 1.4 =
183 * Hide the troublesome "persistent mode" option for all sites where it is not in use. This option will be removed in a future release.
184
185 = 1.3.2 =
186 * Compatibility updates and code refactoring for WordPress 4.3
187 * Adding a few new translations
188
189 = 1.3.1 =
190 * Change the behaviour for comment feed requests. This removes a potential security issue.
191
192 = 1.3 =
193 * Move persistent mode filter into a define.
194 * Add an advanced option to show the theme's comment template even when comments are disabled.
195
196 = 1.2 =
197 * Allow network administrators to disable comments on custom post types across the whole network.
198
199 = 1.1.1 =
200 * Fix PHP warning when active_sitewide_plugins option doesn't contain expected data type.
201
202 = 1.1 =
203 * Attempt to hide the comments template ("Comments are closed") whenever comments are disabled.
204
205 = 1.0.4 =
206 * Fix CSRF vulnerability in the admin. Thanks to dxw for responsible disclosure.
207
208 = 1.0.3 =
209 * Compatibility fix for WordPress 3.8
210
211 = 1.0.2 =
212 * Disable comment-reply script for themes that don't check comment status properly.
213 * Add French translation
214
215 = 1.0.1 =
216 * Fix issue with settings persistence in single-site installations.
217
218 = 1.0 =
219 * Prevent theme comments template from being displayed when comments are disabled everywhere.
220 * Prevent direct access to comment admin pages when comments are disabled everywhere.
221
222 = 0.9.2 =
223 * Make persistent mode option filter available all the time.
224 * Fix redirection for feed requests
225 * Fix admin bar filtering in WP 3.6
226
227 = 0.9.1 =
228 * Short life in the wild.
229
230 = 0.9 =
231 * Added gettext support and German translation.
232 * Added links to GitHub development repo.
233 * Allow network administrators to prevent the use of persistent mode.
234
235 = 0.8 =
236 * Remove X-Pingback header when comments are completely disabled.
237 * Disable comment feeds when comment are completely disabled.
238 * Simplified settings page.
239
240 = 0.7 =
241 * Now supports Network Activation - disable comments on your entire multi-site network.
242 * Simplified settings page.
243
244 = 0.6 =
245 * Add "persistent mode" to deal with themes that don't use filterable comment status checking.
246
247 = 0.5 =
248 * Allow temporary disabling of comments site-wide by ensuring that original comment statuses are not overwritten when a post is edited.
249
250 = 0.4 =
251 * Added the option to disable the Recent Comments template widget.
252 * Bugfix: don't show admin messages to users who don't can't do anything about them.
253
254 = 0.3.5 =
255 * Bugfix: Other admin menu items could inadvertently be hidden when 'Remove the "Comments" link from the Admin Menu' was selected.
256
257 = 0.3.4 =
258 * Bugfix: A typo on the settings page meant that the submit button went missing on some browsers. Thanks to Wojtek for reporting this.
259
260 = 0.3.3 =
261 * Bugfix: Custom post types which don't support comments shouldn't appear on the settings page
262 * Add warning notice to Discussion settings when comments are disabled
263
264 = 0.3.2 =
265 * Bugfix: Some dashboard items were incorrectly hidden in multisite
266
267 = 0.3.1 =
268 * Compatibility fix for WordPress 3.3
269
270 = 0.3 =
271 * Added the ability to remove links to comment admin pages from the Dashboard, Admin Bar and Admin Menu
272
273 = 0.2.1 =
274 * Usability improvements to help first-time users configure the plugin.
275
276 = 0.2 =
277 * Bugfix: Make sure pingbacks are also prevented when comments are disabled.
278
279
280 == Upgrade Notice ==
281
282 Minor Update: Bug Fix