Allows administrators to globally disable comments on their site. Comments can be disabled according to post type. Multisite friendly.
Category Scores
Issues to Review
Prioritized issue groups from the latest Plugin Check scan
Maintainability
39
6 issue groups
Security
22
5 issue groups
WARNINGMaintainabilityNon-prefixed global variableGlobal variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$allowed_types".20
- Category
- Maintainability
- Occurrences
- 20
- Severity
- warning
Sample message
Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$allowed_types".
WARNINGSecurityInterpolated SQL is not preparedUse placeholders and $wpdb->prepare(); found interpolated variable $placeholders at "DELETE FROM $wpdb->comments WHERE comment_type NOT IN ($placeholders)"7
- Category
- Security
- Occurrences
- 7
- Severity
- warning
Sample message
Use placeholders and $wpdb->prepare(); found interpolated variable $placeholders at "DELETE FROM $wpdb->comments WHERE comment_type NOT IN ($placeholders)"
ERRORSecuritySQL query is not preparedUse placeholders and $wpdb->prepare(); found $query7
- Category
- Security
- Occurrences
- 7
- Severity
- error
Sample message
Use placeholders and $wpdb->prepare(); found $query
ERRORMaintainabilityMissing direct file access protectionPHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;7
- Category
- Maintainability
- Occurrences
- 7
- Severity
- error
Sample message
PHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;
WARNINGMaintainabilityNon-prefixed constantGlobal constants defined by a theme/plugin should start with the theme/plugin prefix. Found: "DC_ASSETS_URI".6
- Category
- Maintainability
- Occurrences
- 6
- Severity
- warning
Sample message
Global constants defined by a theme/plugin should start with the theme/plugin prefix. Found: "DC_ASSETS_URI".
WARNINGSecurityNonce verification recommendedProcessing form data without nonce verification.4
- Category
- Security
- Occurrences
- 4
- Severity
- warning
Sample message
Processing form data without nonce verification.
WARNINGSecurityUnfinished PrepareReplacement variables found, but no valid placeholders found in the query.3
- Category
- Security
- Occurrences
- 3
- Severity
- warning
Sample message
Replacement variables found, but no valid placeholders found in the query.
WARNINGMaintainabilityNon-prefixed classClasses declared by a theme/plugin should start with the theme/plugin prefix. Found: "DisableComments_Plugin_Tracker".3
- Category
- Maintainability
- Occurrences
- 3
- Severity
- warning
Sample message
Classes declared by a theme/plugin should start with the theme/plugin prefix. Found: "DisableComments_Plugin_Tracker".
WARNINGMaintainabilityNon-prefixed hook nameHook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "disable_comments_known_comment_types".2
- Category
- Maintainability
- Occurrences
- 2
- Severity
- warning
Sample message
Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "disable_comments_known_comment_types".
ERRORSecurityOutput is not escapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$names_escaped'.1
- Category
- Security
- Occurrences
- 1
- Severity
- error
Sample message
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$names_escaped'.
Show 1 moreShow less
WARNINGMaintainabilitymismatched plugin name1
- Category
- Maintainability
- Occurrences
- 1
- Severity
- warning
Sample message
Plugin name "Disable Comments - Remove Comments & Stop Spam [Multi-Site Support]" is different from the name declared in plugin header "Disable Comments".
External Connections
Not analyzed yet.
Score History
First score snapshot
v2.7.0
53
Latest
- Findings
- 61
- Errors
- 15
- Warnings
- 46
- Check
- 2.0.0
| Scan | Score | Findings | Errors | Warnings | Plugin | Check |
|---|---|---|---|---|---|---|
| Latest | 53 | 61 | 15 | 46 | v2.7.0 | 2.0.0 |
Relationship Map
Author, categories, issues, domains, and nearby plugins.