Disable Comments for Post Types Security & Risk Analysis

wordpress.org/plugins/disable-comments-for-post-types

Adds the option to disable comments for specific post types.

10 active installs v1.0 PHP + WP 3.5+ Updated Aug 10, 2014
commentsdisablepost-type
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Disable Comments for Post Types Safe to Use in 2026?

Generally Safe

Score 85/100

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

No known CVEs Updated 11yr ago
Risk Assessment

The plugin "disable-comments-for-post-types" v1.0 exhibits a generally good security posture based on the provided static analysis. The absence of a significant attack surface (AJAX handlers, REST API routes, shortcodes, cron events) is a positive indicator, as it reduces potential entry points for malicious activity. The plugin also demonstrates good practices by utilizing prepared statements for its SQL queries and includes a nonce check, which helps protect against certain types of cross-site request forgery (CSRF) attacks. The vulnerability history is clean, with no recorded CVEs, further suggesting a well-developed and secure plugin.

Key Concerns

  • Output not properly escaped
Vulnerabilities
None known

Disable Comments for Post Types Security Vulnerabilities

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

Disable Comments for Post Types Code Analysis

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

Output Escaping

0% escaped2 total outputs
Data Flows
All sanitized

Data Flow Analysis

2 flows
dcpt_save (disable-comments-post-type.php:79)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface

Disable Comments for Post Types Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 3
actionadmin_headdisable-comments-post-type.php:48
actionadmin_initdisable-comments-post-type.php:88
filtercomments_opendisable-comments-post-type.php:110
Maintenance & Trust

Disable Comments for Post Types Maintenance & Trust

Maintenance Signals

WordPress version tested3.9.40
Last updatedAug 10, 2014
PHP min version
Downloads2K

Community Trust

Rating0/100
Number of ratings0
Active installs10
Developer Profile

Disable Comments for Post Types Developer Profile

tormorten

6 plugins · 100 total installs

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

How We Detect Disable Comments for Post Types

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

Asset Fingerprints

HTML / DOM Fingerprints

CSS Classes
dcpt-disabled
Data Attributes
id="dcpt-name="dcpt_disables[]"id="dcpt_disables"name="dcpt"id="dcpt_field"
FAQ

Frequently Asked Questions about Disable Comments for Post Types