WordPress organization chart plugin is a nice and handy tool for creating simple and nice organizational charts. If you have any suggestions about the …
Category Scores
Issues to Review
Prioritized issue groups from the latest Plugin Check scan
Security
305
9 issue groups
Maintainability
206
11 issue groups
I18n
6
2 issue groups
Repo Compliance
3
3 issue groups
ERRORSecurityNot PreparedUse placeholders and $wpdb->prepare(); found $id90
- Category
- Security
- Occurrences
- 90
- Severity
- error
Sample message
Use placeholders and $wpdb->prepare(); found $id
WARNINGSecurityMissingProcessing form data without nonce verification.58
- Category
- Security
- Occurrences
- 58
- Severity
- warning
Sample message
Processing form data without nonce verification.
WARNINGMaintainabilityDirect QueryUse of a direct database call is discouraged.56
- Category
- Maintainability
- Occurrences
- 56
- Severity
- warning
Sample message
Use of a direct database call is discouraged.
WARNINGMaintainabilityNo CachingDirect database call without caching detected. Consider using wp_cache_get() / wp_cache_set() or wp_cache_delete().50
- Category
- Maintainability
- Occurrences
- 50
- Severity
- warning
Sample message
Direct database call without caching detected. Consider using wp_cache_get() / wp_cache_set() or wp_cache_delete().
ERRORSecurityUnescaped DBParameterUnescaped parameter $query used in $wpdb->get_results()\n$query assigned unsafely at line 296.42
- Category
- Security
- Occurrences
- 42
- Severity
- error
Sample message
Unescaped parameter $query used in $wpdb->get_results()\n$query assigned unsafely at line 296.
WARNINGMaintainabilityMissing VersionResource 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.34
- Category
- Maintainability
- Occurrences
- 34
- 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.
WARNINGSecurityInput Not ValidatedDetected usage of a possibly undefined superglobal array index: $_GET["chart_id"]. Check that the array index exists before using it.32
- Category
- Security
- Occurrences
- 32
- Severity
- warning
Sample message
Detected usage of a possibly undefined superglobal array index: $_GET["chart_id"]. Check that the array index exists before using it.
WARNINGMaintainabilityNon Prefixed Variable FoundGlobal variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$args".31
- Category
- Maintainability
- Occurrences
- 31
- Severity
- warning
Sample message
Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$args".
WARNINGSecurityMissing Unslash$_POST[$key] not unslashed before sanitization. Use wp_unslash() or similar31
- Category
- Security
- Occurrences
- 31
- Severity
- warning
Sample message
$_POST[$key] not unslashed before sanitization. Use wp_unslash() or similar
ERRORSecurityOutput Not EscapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$content'.22
- Category
- Security
- Occurrences
- 22
- Severity
- error
Sample message
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$content'.
Show 15 moreShow less
WARNINGSecurityRecommended14
- Category
- Security
- Occurrences
- 14
- Severity
- warning
Sample message
Processing form data without nonce verification.
WARNINGMaintainabilityNot In Footer14
- Category
- Maintainability
- Occurrences
- 14
- Severity
- warning
Sample message
In footer ($in_footer) is not set explicitly wp_enqueue_script; It is recommended to load scripts in the footer. Please set this value to `true` to load it in the footer, or explicitly `false` if it should be loaded in the header.
ERRORMaintainabilitywp function not compatible with requires wp11
- Category
- Maintainability
- Occurrences
- 11
- Severity
- error
Sample message
Function "sanitize_textarea_field()" requires WordPress 4.7.0, but your plugin minimum supported version is WordPress 3.4.0.
ERRORSecurityQuoted Simple Placeholder8
- Category
- Security
- Occurrences
- 8
- Severity
- error
Sample message
Simple placeholders should not be quoted in the query string in $wpdb->prepare(). Found: "%d".
WARNINGSecurityInput Not Sanitized8
- Category
- Security
- Occurrences
- 8
- Severity
- warning
Sample message
Detected usage of a non-sanitized input variable: $_POST[$key]
ERRORI18nText Domain Mismatch5
- Category
- I18n
- Occurrences
- 5
- Severity
- error
Sample message
Mismatched text domain. Expected 'organization-chart' but got 'booking-calendar'.
ERRORMaintainabilitymissing direct file access protection4
- Category
- Maintainability
- Occurrences
- 4
- Severity
- error
Sample message
PHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;
ERRORMaintainabilityNon Enqueued Script3
- Category
- Maintainability
- Occurrences
- 3
- Severity
- error
Sample message
Scripts must be registered/enqueued via wp_enqueue_script()
WARNINGMaintainabilityNon Prefixed Class Found1
- Category
- Maintainability
- Occurrences
- 1
- Severity
- warning
Sample message
Classes declared by a theme/plugin should start with the theme/plugin prefix. Found: "wpdevart_org_chart_front".
WARNINGMaintainabilityNon Prefixed Hookname Found1
- Category
- Maintainability
- Occurrences
- 1
- Severity
- warning
Sample message
Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "the_content".
ERRORRepo Compliancelicense mismatch1
- Category
- Repo Compliance
- Occurrences
- 1
- Severity
- error
Sample message
Your plugin has a different license declared in the readme file and plugin header. Please update your readme with a valid GPL license identifier.
WARNINGMaintainabilitymismatched plugin name1
- Category
- Maintainability
- Occurrences
- 1
- Severity
- warning
Sample message
Plugin name "Organization chart" is different from the name declared in plugin header "WpDevArt Organization Chart".
ERRORRepo Complianceoutdated tested upto header1
- Category
- Repo Compliance
- Occurrences
- 1
- Severity
- error
Sample message
Tested up to: 6.9 < 7.0. The "Tested up to" value in your plugin is not set to the current version of WordPress. This means your plugin will not show up in searches, as we require plugins to be compatible and documented as tested up to the most recent version of WordPress.
WARNINGRepo Compliancereadme parser warnings trimmed short description1
- Category
- Repo Compliance
- Occurrences
- 1
- Severity
- warning
Sample message
The "Short Description" section is too long and was truncated. A maximum of 150 characters is supported.
WARNINGI18ntextdomain mismatch1
- Category
- I18n
- Occurrences
- 1
- Severity
- warning
Sample message
The "Text Domain" header in the plugin file does not match the slug. Found "wpdevart-chart", expected "organization-chart".
Score History
First score snapshot
v1.7.6
32
Latest
- Findings
- 521
- Errors
- 187
- Warnings
- 334
- Check
- 2.0.0
| Scan | Score | Findings | Errors | Warnings | Plugin | Check |
|---|---|---|---|---|---|---|
| Latest | 32 | 521 | 187 | 334 | v1.7.6 | 2.0.0 |