This plugin adds some useful featuers to themes made by us(Code Work Web).
Category Scores
Issues to Review
Prioritized issue groups from the latest Plugin Check scan
Maintainability
224
15 issue groups
Security
178
6 issue groups
I18n
107
3 issue groups
Performance
3
1 issue group
ERRORSecurityOutput is not escapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$api['init']'.93
- Category
- Security
- Occurrences
- 93
- Severity
- error
Sample message
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$api['init']'.
ERRORI18nText Domain MismatchMismatched text domain. Expected 'cww-companion' but got 'cww-portfolio'.84
- Category
- I18n
- Occurrences
- 84
- Severity
- error
Sample message
Mismatched text domain. Expected 'cww-companion' but got 'cww-portfolio'.
WARNINGMaintainabilityNon-prefixed global variableGlobal variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$already_had_onboarding".50
- Category
- Maintainability
- Occurrences
- 50
- Severity
- warning
Sample message
Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$already_had_onboarding".
ERRORMaintainabilitywp function not compatible with requires wpFunction "add_term_meta()" requires WordPress 4.4.0, but your plugin minimum supported version is WordPress 3.0.1.38
- Category
- Maintainability
- Occurrences
- 38
- Severity
- error
Sample message
Function "add_term_meta()" requires WordPress 4.4.0, but your plugin minimum supported version is WordPress 3.0.1.
ERRORMaintainabilityMissing direct file access protectionPHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;31
- Category
- Maintainability
- Occurrences
- 31
- 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: "customizer_editor".27
- Category
- Maintainability
- Occurrences
- 27
- Severity
- warning
Sample message
Functions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "customizer_editor".
WARNINGSecurityRequest data is not unslashed$_GET['demo_data_nonce'] not unslashed before sanitization. Use wp_unslash() or similar24
- Category
- Security
- Occurrences
- 24
- Severity
- warning
Sample message
$_GET['demo_data_nonce'] not unslashed before sanitization. Use wp_unslash() or similar
WARNINGSecurityInput is not sanitizedDetected usage of a non-sanitized input variable: $_GET['demo_data_nonce']21
- Category
- Security
- Occurrences
- 21
- Severity
- warning
Sample message
Detected usage of a non-sanitized input variable: $_GET['demo_data_nonce']
WARNINGSecurityInput is not validatedDetected usage of a possibly undefined superglobal array index: $_GET['demo_data_nonce']. Check that the array index exists before using it.20
- Category
- Security
- Occurrences
- 20
- Severity
- warning
Sample message
Detected usage of a possibly undefined superglobal array index: $_GET['demo_data_nonce']. Check that the array index exists before using it.
WARNINGMaintainabilityNon-prefixed classClasses declared by a theme/plugin should start with the theme/plugin prefix. Found: "CWW_CIE_Option".18
- Category
- Maintainability
- Occurrences
- 18
- Severity
- warning
Sample message
Classes declared by a theme/plugin should start with the theme/plugin prefix. Found: "CWW_CIE_Option".
Show 15 moreShow less
ERRORI18nMissing Translators Comment18
- Category
- I18n
- Occurrences
- 18
- 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.
WARNINGMaintainabilityNon-prefixed hook name15
- Category
- Maintainability
- Occurrences
- 15
- Severity
- warning
Sample message
Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "cww_demos_data".
ERRORSecurityUnsafe printing function14
- Category
- Security
- Occurrences
- 14
- Severity
- error
Sample message
All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'.
WARNINGMaintainabilityNon-prefixed constant9
- Category
- Maintainability
- Occurrences
- 9
- Severity
- warning
Sample message
Global constants defined by a theme/plugin should start with the theme/plugin prefix. Found: "CUSTOMIZER_PAGE_EDITOR_VERSION".
WARNINGMaintainabilityNon-prefixed namespace9
- Category
- Maintainability
- Occurrences
- 9
- Severity
- warning
Sample message
Namespaces declared by a theme/plugin should start with the theme/plugin prefix. Found: "Elementor".
ERRORMaintainabilityunlink unlink8
- Category
- Maintainability
- Occurrences
- 8
- Severity
- error
Sample message
unlink() is discouraged. Use wp_delete_file() to delete a file.
WARNINGSecurityMissing nonce verification6
- Category
- Security
- Occurrences
- 6
- Severity
- warning
Sample message
Processing form data without nonce verification.
WARNINGMaintainabilityMissing Version5
- Category
- Maintainability
- Occurrences
- 5
- Severity
- warning
Sample message
Resource version not set in call to wp_enqueue_script(). This means new versions of the script may not always be loaded due to browser caching.
ERRORI18nUnordered Placeholders Text5
- Category
- I18n
- Occurrences
- 5
- Severity
- error
Sample message
Multiple placeholders in translatable strings should be ordered. Expected "%1$s, %2$s", but got "%s, %s" in '%s “%s” already exists.'.
ERRORMaintainabilityDeprecated function: get_page_by_title4
- Category
- Maintainability
- Occurrences
- 4
- Severity
- error
Sample message
get_page_by_title() has been deprecated since WordPress version 6.2.0. Use WP_Query instead.
WARNINGMaintainabilityDiscouraged PHP function3
- Category
- Maintainability
- Occurrences
- 3
- Severity
- warning
Sample message
The use of function ini_set() is discouraged
WARNINGMaintainabilityDirect Query3
- Category
- Maintainability
- Occurrences
- 3
- Severity
- warning
Sample message
Use of a direct database call is discouraged.
WARNINGPerformancePost Not In post not in3
- Category
- Performance
- Occurrences
- 3
- 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.
WARNINGMaintainabilityNo Caching2
- Category
- Maintainability
- Occurrences
- 2
- Severity
- warning
Sample message
Direct database call without caching detected. Consider using wp_cache_get() / wp_cache_set() or wp_cache_delete().
WARNINGMaintainabilityslow db query tax query2
- Category
- Maintainability
- Occurrences
- 2
- Severity
- warning
Sample message
Detected usage of tax_query, possible slow query.
External Connections
Not analyzed yet.
Score History
First score snapshot
v1.3.9
23
Latest
- Findings
- 530
- Errors
- 307
- Warnings
- 223
- Check
- 2.0.0
| Scan | Score | Findings | Errors | Warnings | Plugin | Check |
|---|---|---|---|---|---|---|
| Latest | 23 | 530 | 307 | 223 | v1.3.9 | 2.0.0 |
Relationship Map
Author, categories, issues, domains, and nearby plugins.