Linux 软件免费装

EffortLess Disable All Comments

开发者 domclic
更新时间 2025年11月7日 08:13
PHP版本: 7.0 及以上
WordPress版本: 6.8
版权: GPLv2 or later
版权网址: 版权信息

标签

comments multisite trackbacks avatars disable comments

下载

1.8.7

详情介绍:

EffortLess Disable All Comments allows you to disable comments, trackbacks, and avatars across your WordPress site or multisite network with a single checkbox. When enabled, it removes comment functionality, hides the Comments and Discussion menus, and blocks comment submissions. Uncheck to restore all features. Features: Disables comments and trackbacks for all post types. Removes avatars site-wide. Hides Comments and Discussion settings in the admin. Blocks comment submissions via frontend, admin, and REST API. Multisite support: applies settings network-wide. Simple toggle to enable/disable.

安装:

Upload the effortless-disable-all-comments folder to the /wp-content/plugins/ directory. Activate the plugin through the 'Plugins' menu in WordPress. For single sites, go to Settings > Disable Comments to toggle the setting. For multisite, go to Network Admin > Settings > Disable Comments to apply network-wide.

升级注意事项:

1.8.7 Updated to use proper WordPress asset enqueuing. No breaking changes.

常见问题:

Does this plugin work on multisite?

Yes, it’s fully compatible with multisite. The toggle in Network Admin applies settings to all sites.

Will comments and avatars be restored if I uncheck the box?

Yes, unchecking the box restores comments, trackbacks, avatars, and Discussion settings.

Can users still submit comments when disabled?

No, comments are blocked at the database level and via the REST API, preventing all submissions.

Why do I see an error on the multisite dashboard?

Enable debugging in wp-config.php (WP_DEBUG, WP_DEBUG_LOG) and check wp-content/debug.log for details. Contact support with the error message.

更新日志:

1.8.7 Replaced inline CSS with wp_enqueue_style and wp_add_inline_style for proper asset loading. 1.8.6 Fix small errors 1.8.5 Fix syntax errors 1.8.4 Create an EffortLess menu for the Network dashboard 1.8.3 Fixed input sanitization warning for POST data in network options update. Improved settings page UI consistency. 1.8.2 Updated settings page to display checkbox and text inline, matching WordPress default UI/UX. 1.8.1 Fixed text domain mismatches and removed unnecessary Domain Path header. Added proper escaping and sanitization for inputs and outputs. 1.8.0 Fixed multisite dashboard error and improved Comments menu removal. Enhanced network option updates. 1.7.0 Improved Comments menu removal with higher priority and CSS fallback. 1.6.0 Added complete comment blocking via database and REST API. 1.5.0 Fixed multisite network option updates to prevent errors.