Disable Comments Selectively Security & Risk Analysis

wordpress.org/plugins/disable-comments-selectively

Choose which post types, taxonomies and/or terms will have comments disabled.

0 active installs v0.16 PHP 8.3+ WP 4.2+ Updated Apr 7, 2025
commentsdisabledisable-commentsdisable-media-commentsremove-comments
100
A · Safe
CVEs total0
Unpatched0
Last CVENever
Download
Safety Verdict

Is Disable Comments Selectively Safe to Use in 2026?

Generally Safe

Score 100/100

Disable Comments Selectively has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 12mo ago
Risk Assessment

The plugin "disable-comments-selectively" v0.16 exhibits a strong security posture based on the static analysis. The complete absence of AJAX handlers, REST API routes, shortcodes, and cron events significantly limits its attack surface. Furthermore, the code demonstrates good practices by using prepared statements for its single SQL query and properly escaping the vast majority of its output. The presence of a capability check further reinforces its security. The lack of any recorded vulnerabilities in its history further strengthens this assessment, suggesting a well-maintained and secure codebase.

While the plugin's current analysis reveals no immediate critical flaws, the complete lack of any identified taint flows and the absence of nonce checks are notable. While not necessarily indicative of a vulnerability in this specific instance due to the limited attack surface, these are generally considered important security mechanisms. The plugin's minimal attack surface and robust use of prepared statements and output escaping are significant strengths. However, the absence of nonce checks, even with a limited attack surface, represents a minor area for potential improvement to ensure comprehensive security practices.

In conclusion, "disable-comments-selectively" v0.16 appears to be a very secure plugin. Its minimal attack surface, excellent data handling practices (prepared statements, output escaping), and clean vulnerability history are all positive indicators. The only minor concern is the absence of nonce checks, which, given the plugin's function and limited entry points, poses a very low risk but could be considered for future hardening.

Key Concerns

  • Absence of nonce checks
Vulnerabilities
None known

Disable Comments Selectively Security Vulnerabilities

No known vulnerabilities — this is a good sign.
Code Analysis
Analyzed Mar 17, 2026

Disable Comments Selectively Code Analysis

Dangerous Functions
0
Raw SQL Queries
0
1 prepared
Unescaped Output
1
6 escaped
Nonce Checks
0
Capability Checks
1
File Operations
0
External Requests
0
Bundled Libraries
0

SQL Query Safety

100% prepared1 total queries

Output Escaping

86% escaped7 total outputs
Attack Surface

Disable Comments Selectively Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 11
actioninitdisable-comments-selectively.php:30
actionwpdisable-comments-selectively.php:34
actionwpdisable-comments-selectively.php:37
filtercomments_opendisable-comments-selectively.php:40
filterpings_opendisable-comments-selectively.php:41
filterget_comments_numberdisable-comments-selectively.php:44
filterwidget_comments_argsdisable-comments-selectively.php:47
filtercomment_feed_wheredisable-comments-selectively.php:56
filterpre_comment_approveddisable-comments-selectively.php:65
actionadmin_initdisable-comments-selectively.php:97
actionadmin_enqueue_scriptsdisable-comments-selectively.php:98
Maintenance & Trust

Disable Comments Selectively Maintenance & Trust

Maintenance Signals

WordPress version tested6.7.5
Last updatedApr 7, 2025
PHP min version8.3
Downloads2K

Community Trust

Rating0/100
Number of ratings0
Active installs0
Developer Profile

Disable Comments Selectively Developer Profile

keith_wp

10 plugins · 300 total installs

91
trust score
Avg Security Score
95/100
Avg Patch Time
30 days
View full developer profile
Detection Fingerprints

How We Detect Disable Comments Selectively

Patterns used to identify this plugin on WordPress sites during automated security audits and web crawling.

Asset Fingerprints

Asset Paths
/wp-content/plugins/disable-comments-selectively/admin.js
Script Paths
/wp-content/plugins/disable-comments-selectively/admin.js

HTML / DOM Fingerprints

CSS Classes
dcbt
Data Attributes
id="dcs_"name="DisableCommentsSelectivelyPlugin[
FAQ

Frequently Asked Questions about Disable Comments Selectively