
Disable Custom Post Types Security & Risk Analysis
wordpress.org/plugins/disable-custom-post-typesThis is a simple plugin to disable unwanted Custom Post Types.
Is Disable Custom Post Types Safe to Use in 2026?
Generally Safe
Score 85/100Disable Custom Post Types has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.
The "disable-custom-post-types" v1.0 plugin presents a mixed security picture. On the positive side, the plugin has a remarkably small attack surface with no identified AJAX handlers, REST API routes, shortcodes, or cron events, which significantly limits potential entry points for attackers. Furthermore, all SQL queries are properly prepared, and there are no external HTTP requests or file operations, reducing risks associated with database manipulation and external compromises. The complete absence of known CVEs and historical vulnerabilities is also a strong indicator of a generally secure development history.
However, there are notable concerns within the static analysis. The presence of the `create_function` function is a significant red flag, as it is deprecated and can lead to security vulnerabilities if not handled with extreme care, potentially allowing for arbitrary code execution under certain circumstances. Additionally, the output escaping is quite low, with only 36% of outputs properly escaped, leaving the plugin susceptible to cross-site scripting (XSS) vulnerabilities if user-supplied data is outputted without sanitization. The lack of nonce checks and capability checks, while potentially less critical due to the limited attack surface, still represent missed opportunities for hardening the plugin against unauthorized actions.
In conclusion, while the plugin benefits from a minimal attack surface and a clean vulnerability history, the identified code quality issues, particularly the use of `create_function` and insufficient output escaping, introduce tangible risks. These risks, though not historically realized, require attention to improve the plugin's overall security posture.
Key Concerns
- Use of dangerous function: create_function
- Low percentage of properly escaped outputs
- Missing nonce checks
- Missing capability checks
Disable Custom Post Types Security Vulnerabilities
Disable Custom Post Types Code Analysis
Dangerous Functions Found
Output Escaping
Disable Custom Post Types Attack Surface
WordPress Hooks 5
Maintenance & Trust
Disable Custom Post Types Maintenance & Trust
Maintenance Signals
Community Trust
Disable Custom Post Types Alternatives
CPT Toggle – Disable Custom Post Types
cpt-toggle-disable-custom-post-types
Enable or disable any post type. Tabs group post types by source (Core, theme, plugin) for a tidy WordPress admin.
Post Types Unlimited
post-types-unlimited
Create unlimited custom post types and custom taxonomies.
Simple CPT
simple-cpt
Simple CPT provides an easy to use interface for registering and managing custom post types and custom taxonomies.
Custom post types, Custom Fields & more
custom-post-types
Custom Post Types, Custom Fields, Custom Taxonomies, Custom Templates, Custom Admin Pages, Custom Admin Notices. Directly from the WP dashboard.
Custom Post Type Editor
cpt-editor
Customize the text labels, menu names or description for any registered custom post type using a simple Dashboard user interface.
Disable Custom Post Types Developer Profile
3 plugins · 310 total installs
How We Detect Disable Custom Post Types
Patterns used to identify this plugin on WordPress sites during automated security audits and web crawling.
Asset Fingerprints
/wp-content/plugins/disable-custom-post-types/assets/css/style.css/wp-content/plugins/disable-custom-post-types/assets/js/script.js/wp-content/plugins/disable-custom-post-types/assets/js/script.jsdisable-custom-post-types/assets/css/style.css?ver=disable-custom-post-types/assets/js/script.js?ver=HTML / DOM Fingerprints
hmk-settings-disable-post-type