WPFrank Companion is a companion plugin for WP Frank themes.
Category Scores
Issues to Review
Prioritized issue groups from the latest Plugin Check scan
I18n
2,224
5 issue groups
Maintainability
907
11 issue groups
Security
88
3 issue groups
Performance
2
1 issue group
ERRORI18nText Domain MismatchMismatched text domain. Expected 'wpfrank-companion' but got 'awp-companion'.2,194
- Category
- I18n
- Occurrences
- 2,194
- Severity
- error
Sample message
Mismatched text domain. Expected 'wpfrank-companion' but got 'awp-companion'.
WARNINGMaintainabilityNon-prefixed global variableGlobal variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$activate_theme".831
- Category
- Maintainability
- Occurrences
- 831
- Severity
- warning
Sample message
Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$activate_theme".
ERRORSecurityOutput is not escapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$average'.72
- Category
- Security
- Occurrences
- 72
- Severity
- error
Sample message
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$average'.
ERRORMaintainabilityMissing direct file access protectionPHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;42
- Category
- Maintainability
- Occurrences
- 42
- Severity
- error
Sample message
PHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;
ERRORSecurityUnsafe printing functionAll output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'.11
- Category
- Security
- Occurrences
- 11
- Severity
- error
Sample message
All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'.
ERRORI18nMissing Arg DomainMissing $domain parameter in function call to _e().11
- Category
- I18n
- Occurrences
- 11
- Severity
- error
Sample message
Missing $domain parameter in function call to _e().
ERRORI18nNon Singular String Literal TextThe $text parameter must be a single text string literal. Found: ''.$blog_title.''10
- Category
- I18n
- Occurrences
- 10
- Severity
- error
Sample message
The $text parameter must be a single text string literal. Found: ''.$blog_title.''
WARNINGMaintainabilityNon-prefixed hook nameHook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "section_priority".9
- Category
- Maintainability
- Occurrences
- 9
- Severity
- warning
Sample message
Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "section_priority".
ERRORMaintainabilitywp function not compatible with requires wpFunction "get_privacy_policy_url()" requires WordPress 4.9.6, but your plugin minimum supported version is WordPress 4.0.0.7
- Category
- Maintainability
- Occurrences
- 7
- Severity
- error
Sample message
Function "get_privacy_policy_url()" requires WordPress 4.9.6, but your plugin minimum supported version is WordPress 4.0.0.
WARNINGMaintainabilityNon-prefixed functionFunctions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "check_not_empty".6
- Category
- Maintainability
- Occurrences
- 6
- Severity
- warning
Sample message
Functions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "check_not_empty".
Show 10 moreShow less
WARNINGSecurityDatabase parameter is not escaped5
- Category
- Security
- Occurrences
- 5
- Severity
- warning
Sample message
Unescaped parameter $sql used in $wpdb->get_results()\n$sql assigned unsafely at line 227.
ERRORI18nNo Empty Strings5
- Category
- I18n
- Occurrences
- 5
- Severity
- error
Sample message
The $text text string should have translatable content. Found: ''
WARNINGMaintainabilityDiscouraged PHP function4
- Category
- Maintainability
- Occurrences
- 4
- Severity
- warning
Sample message
query_posts() is discouraged. Use WP_Query instead.
ERRORI18nMissing Translators Comment4
- Category
- I18n
- Occurrences
- 4
- Severity
- error
Sample message
A function call to __() with texts containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
WARNINGMaintainabilitytrademarked term3
- Category
- Maintainability
- Occurrences
- 3
- Severity
- warning
Sample message
The plugin name includes a restricted term. Your chosen plugin name - "WPFrank Companion" - contains the restricted term "wp" which cannot be used at all in your plugin name.
WARNINGMaintainabilityslow db query tax query2
- Category
- Maintainability
- Occurrences
- 2
- Severity
- warning
Sample message
Detected usage of tax_query, possible slow query.
WARNINGPerformancePost Not In post not in2
- Category
- Performance
- Occurrences
- 2
- Severity
- warning
Sample message
Using exclusionary parameters, like post__not_in, in calls to get_posts() should be done with caution, see https://wpvip.com/documentation/performance-improvements-by-removing-usage-of-post__not_in/ for more information.
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: "WP_businessexpo_layout_Customize_Control".
WARNINGMaintainabilityNon-prefixed constant1
- Category
- Maintainability
- Occurrences
- 1
- Severity
- warning
Sample message
Global constants defined by a theme/plugin should start with the theme/plugin prefix. Found: "SECTIONS_ORDER_VERSION".
WARNINGMaintainabilityDeprecated function: get_page_by_title1
- Category
- Maintainability
- Occurrences
- 1
- Severity
- warning
Sample message
get_page_by_title() has been deprecated since WordPress version 6.2.0. Use WP_Query instead.
External Connections
Not analyzed yet.
Score History
First score snapshot
v0.3.10
26
Latest
- Findings
- 3,221
- Errors
- 2,356
- Warnings
- 865
- Check
- 2.0.0
| Scan | Score | Findings | Errors | Warnings | Plugin | Check |
|---|---|---|---|---|---|---|
| Latest | 26 | 3,221 | 2,356 | 865 | v0.3.10 | 2.0.0 |
Relationship Map
Author, categories, issues, domains, and nearby plugins.