WP Editor is a plugin for WordPress that replaces the default plugin and theme editors as well as the page/post editor.
Category Scores
Issues to Review
Prioritized issue groups from the latest Plugin Check scan
Security
596
8 issue groups
Maintainability
174
15 issue groups
I18n
31
2 issue groups
ERRORSecurityUnsafe printing functionAll output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'.330
- Category
- Security
- Occurrences
- 330
- 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 global variableGlobal variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$a_plugin".72
- Category
- Maintainability
- Occurrences
- 72
- Severity
- warning
Sample message
Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$a_plugin".
ERRORSecurityOutput is not escapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$active'.65
- Category
- Security
- Occurrences
- 65
- Severity
- error
Sample message
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$active'.
WARNINGSecurityInput is not sanitizedDetected usage of a non-sanitized input variable: $_FILES["file-0"]["error"]48
- Category
- Security
- Occurrences
- 48
- Severity
- warning
Sample message
Detected usage of a non-sanitized input variable: $_FILES["file-0"]["error"]
WARNINGSecurityMissing nonce verificationProcessing form data without nonce verification.41
- Category
- Security
- Occurrences
- 41
- Severity
- warning
Sample message
Processing form data without nonce verification.
WARNINGSecurityNonce verification recommendedProcessing form data without nonce verification.34
- Category
- Security
- Occurrences
- 34
- Severity
- warning
Sample message
Processing form data without nonce verification.
WARNINGSecurityRequest data is not unslashed$_GET['section'] not unslashed before sanitization. Use wp_unslash() or similar31
- Category
- Security
- Occurrences
- 31
- Severity
- warning
Sample message
$_GET['section'] not unslashed before sanitization. Use wp_unslash() or similar
ERRORI18nMissing Arg DomainMissing $domain parameter in function call to __().26
- Category
- I18n
- Occurrences
- 26
- Severity
- error
Sample message
Missing $domain parameter in function call to __().
WARNINGSecuritywp redirect wp redirectwp_redirect() found. Using wp_safe_redirect(), along with the "allowed_redirect_hosts" filter if needed, can help avoid any chances of malicious redirects within code. It is also important to remember to call exit() after a redirect so that no other unwanted code is executed.24
- Category
- Security
- Occurrences
- 24
- Severity
- warning
Sample message
wp_redirect() found. Using wp_safe_redirect(), along with the "allowed_redirect_hosts" filter if needed, can help avoid any chances of malicious redirects within code. It is also important to remember to call exit() after a redirect so that no other unwanted code is executed.
WARNINGSecurityInput is not validatedDetected usage of a possibly undefined superglobal array index: $_FILES["file-0"]["error"]. Check that the array index exists before using it.23
- Category
- Security
- Occurrences
- 23
- Severity
- warning
Sample message
Detected usage of a possibly undefined superglobal array index: $_FILES["file-0"]["error"]. Check that the array index exists before using it.
Show 15 moreShow less
ERRORMaintainabilityfile system operations is writable21
- Category
- Maintainability
- Occurrences
- 21
- Severity
- error
Sample message
File operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: is_writable().
WARNINGMaintainabilityNon-prefixed hook name16
- Category
- Maintainability
- Occurrences
- 16
- Severity
- warning
Sample message
Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "'wpe_settings_tab_bottom_' . $active_tab . '_' . $section".
WARNINGMaintainabilityNot In Footer15
- Category
- Maintainability
- Occurrences
- 15
- Severity
- warning
Sample message
In footer ($in_footer) is not set explicitly wp_register_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.
WARNINGMaintainabilityDirect Query7
- Category
- Maintainability
- Occurrences
- 7
- Severity
- warning
Sample message
Use of a direct database call is discouraged.
WARNINGMaintainabilityNo Caching6
- Category
- Maintainability
- Occurrences
- 6
- Severity
- warning
Sample message
Direct database call without caching detected. Consider using wp_cache_get() / wp_cache_set() or wp_cache_delete().
ERRORI18nText Domain Mismatch5
- Category
- I18n
- Occurrences
- 5
- Severity
- error
Sample message
Mismatched text domain. Expected 'wp-editor' but got 'easy-digital-downloads'.
ERRORMaintainabilitybadly named files5
- Category
- Maintainability
- Occurrences
- 5
- Severity
- error
Sample message
File and folder names must not contain spaces or special characters.
ERRORMaintainabilityMissing direct file access protection5
- Category
- Maintainability
- Occurrences
- 5
- Severity
- error
Sample message
PHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;
WARNINGMaintainabilityNon-prefixed constant4
- Category
- Maintainability
- Occurrences
- 4
- Severity
- warning
Sample message
Global constants defined by a theme/plugin should start with the theme/plugin prefix. Found: "IS_ADMIN".
ERRORMaintainabilityfile system operations fclose4
- Category
- Maintainability
- Occurrences
- 4
- Severity
- error
Sample message
File operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: fclose().
ERRORMaintainabilityfile system operations fopen4
- Category
- Maintainability
- Occurrences
- 4
- Severity
- error
Sample message
File operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: fopen().
ERRORMaintainabilityfile system operations mkdir4
- Category
- Maintainability
- Occurrences
- 4
- Severity
- error
Sample message
File operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: mkdir().
WARNINGMaintainabilityupgrade notice limit4
- Category
- Maintainability
- Occurrences
- 4
- Severity
- warning
Sample message
The upgrade notice for "1.2" exceeds the limit of 300 characters.
ERRORMaintainabilitywp function not compatible with requires wp4
- Category
- Maintainability
- Occurrences
- 4
- Severity
- error
Sample message
Function "wp_json_encode()" requires WordPress 4.1.0, but your plugin minimum supported version is WordPress 3.9.0.
ERRORMaintainabilitydate date3
- Category
- Maintainability
- Occurrences
- 3
- Severity
- error
Sample message
date() is affected by runtime timezone changes which can cause date/time to be incorrectly displayed. Use gmdate() instead.
External Connections
Not analyzed yet.
Score History
First score snapshot
v1.2.9.3
23
Latest
- Findings
- 837
- Errors
- 502
- Warnings
- 335
- Check
- 2.0.0
| Scan | Score | Findings | Errors | Warnings | Plugin | Check |
|---|---|---|---|---|---|---|
| Latest | 23 | 837 | 502 | 335 | v1.2.9.3 | 2.0.0 |
Relationship Map
Author, categories, issues, domains, and nearby plugins.