Easily add code snippets in WordPress. Insert header & footer scripts, add PHP code snippets with conditional logic, insert ads pixel code, and more.
Category Scores
Issues to Review
Prioritized issue groups from the latest Plugin Check scan
Maintainability
47
12 issue groups
Security
2
1 issue group
Performance
2
1 issue group
ERRORMaintainabilitywp function not compatible with requires wpFunction "wp_init_targeted_link_rel_filters()" requires WordPress 5.1.0, but your plugin minimum supported version is WordPress 5.0.0.11
- Category
- Maintainability
- Occurrences
- 11
- Severity
- error
Sample message
Function "wp_init_targeted_link_rel_filters()" requires WordPress 5.1.0, but your plugin minimum supported version is WordPress 5.0.0.
WARNINGMaintainabilityNon-prefixed global variableGlobal variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$file".8
- Category
- Maintainability
- Occurrences
- 8
- Severity
- warning
Sample message
Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$file".
WARNINGMaintainabilityNon-prefixed hook nameHook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "disable_ihaf".7
- Category
- Maintainability
- Occurrences
- 7
- Severity
- warning
Sample message
Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "disable_ihaf".
ERRORMaintainabilityMissing direct file access protectionPHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;6
- Category
- Maintainability
- Occurrences
- 6
- Severity
- error
Sample message
PHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;
WARNINGMaintainabilityNon-prefixed functionFunctions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "_sanitize_text_fields".5
- Category
- Maintainability
- Occurrences
- 5
- Severity
- warning
Sample message
Functions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "_sanitize_text_fields".
WARNINGSecurityDatabase parameter is not escapedUnescaped parameter $query used in $wpdb->get_col()\n$query assigned unsafely at line 397.2
- Category
- Security
- Occurrences
- 2
- Severity
- warning
Sample message
Unescaped parameter $query used in $wpdb->get_col()\n$query assigned unsafely at line 397.
WARNINGMaintainabilityslow db query tax queryDetected usage of tax_query, possible slow query.2
- Category
- Maintainability
- Occurrences
- 2
- Severity
- warning
Sample message
Detected usage of tax_query, possible slow query.
ERRORPerformanceSuppress Filters suppress filtersSetting `suppress_filters` to `true` is prohibited.2
- Category
- Performance
- Occurrences
- 2
- Severity
- error
Sample message
Setting `suppress_filters` to `true` is prohibited.
ERRORMaintainabilityfive star reviews detectedLinking directly to 5 stars reviews is not allowed.2
- Category
- Maintainability
- Occurrences
- 2
- Severity
- error
Sample message
Linking directly to 5 stars reviews is not allowed.
WARNINGMaintainabilitytrademarked termThe plugin name includes a restricted term. Your chosen plugin name - "WPCode - Insert Headers and Footers + Custom Code Snippets - WordPress Code Manager" - contains the restricted term "wordpress" which cannot be used at all in your plugin name.2
- Category
- Maintainability
- Occurrences
- 2
- Severity
- warning
Sample message
The plugin name includes a restricted term. Your chosen plugin name - "WPCode - Insert Headers and Footers + Custom Code Snippets - WordPress Code Manager" - contains the restricted term "wordpress" which cannot be used at all in your plugin name.
Show 4 moreShow less
WARNINGMaintainabilityNon-prefixed class1
- Category
- Maintainability
- Occurrences
- 1
- Severity
- warning
Sample message
Classes declared by a theme/plugin should start with the theme/plugin prefix. Found: "InsertHeadersAndFooters".
WARNINGMaintainabilityDeprecated function: wp_init_targeted_link_rel_filters1
- Category
- Maintainability
- Occurrences
- 1
- Severity
- warning
Sample message
wp_init_targeted_link_rel_filters() has been deprecated since WordPress version 6.7.0.
WARNINGMaintainabilityDeprecated function: wp_remove_targeted_link_rel_filters1
- Category
- Maintainability
- Occurrences
- 1
- Severity
- warning
Sample message
wp_remove_targeted_link_rel_filters() has been deprecated since WordPress version 6.7.0.
WARNINGMaintainabilitymismatched plugin name1
- Category
- Maintainability
- Occurrences
- 1
- Severity
- warning
Sample message
Plugin name "WPCode - Insert Headers and Footers + Custom Code Snippets - WordPress Code Manager" is different from the name declared in plugin header "WPCode Lite".
External Connections
Not analyzed yet.
Score History
First score snapshot
v2.3.6
89
Latest
- Findings
- 51
- Errors
- 21
- Warnings
- 30
- Check
- 2.0.0
| Scan | Score | Findings | Errors | Warnings | Plugin | Check |
|---|---|---|---|---|---|---|
| Latest | 89 | 51 | 21 | 30 | v2.3.6 | 2.0.0 |
Relationship Map
Author, categories, issues, domains, and nearby plugins.