A File & Folder Viewer for FTP folders, enabling the display of library contents (folders & files) on the front-end.
Category Scores
Issues to Review
Prioritized issue groups from the latest Plugin Check scan
Security
81
6 issue groups
Maintainability
72
8 issue groups
I18n
5
4 issue groups
WARNINGMaintainabilityNon-prefixed hook nameHook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "lv_after_$method".48
- Category
- Maintainability
- Occurrences
- 48
- Severity
- warning
Sample message
Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "lv_after_$method".
ERRORSecurityOutput is not escapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"<div class='notice notice-error'><p>The <b>$deprecated_hook</b> hook is deprecated from <b>$this->version_deprecation</b> . Please replace it with <b>$new_hook</b>. View <a target='_blank' href='$LIBRARY_VIEWER_DOCUMENTATION_URL'>Documentation</a> for more details.</p></div>"'.32
- Category
- Security
- Occurrences
- 32
- Severity
- error
Sample message
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"<div class='notice notice-error'><p>The <b>$deprecated_hook</b> hook is deprecated from <b>$this->version_deprecation</b> . Please replace it with <b>$new_hook</b>. View <a target='_blank' href='$LIBRARY_VIEWER_DOCUMENTATION_URL'>Documentation</a> for more details.</p></div>"'.
ERRORMaintainabilitywp function not compatible with requires wpFunction "apply_filters_deprecated()" requires WordPress 4.6.0, but your plugin minimum supported version is WordPress 3.0.0.17
- Category
- Maintainability
- Occurrences
- 17
- Severity
- error
Sample message
Function "apply_filters_deprecated()" requires WordPress 4.6.0, but your plugin minimum supported version is WordPress 3.0.0.
WARNINGSecurityNonce verification recommendedProcessing form data without nonce verification.16
- Category
- Security
- Occurrences
- 16
- Severity
- warning
Sample message
Processing form data without nonce verification.
WARNINGSecurityRequest data is not unslashed$_GET[$dir_name] not unslashed before sanitization. Use wp_unslash() or similar13
- Category
- Security
- Occurrences
- 13
- Severity
- warning
Sample message
$_GET[$dir_name] not unslashed before sanitization. Use wp_unslash() or similar
WARNINGSecurityInput is not sanitizedDetected usage of a non-sanitized input variable: $_GET[$dir_name]10
- Category
- Security
- Occurrences
- 10
- Severity
- warning
Sample message
Detected usage of a non-sanitized input variable: $_GET[$dir_name]
ERRORSecurityUnsafe printing functionAll output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'.6
- Category
- Security
- Occurrences
- 6
- Severity
- error
Sample message
All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'.
WARNINGSecurityInput is not validatedDetected usage of a possibly undefined superglobal array index: $_SERVER['HTTP_HOST']. Check that the array index exists before using it.4
- Category
- Security
- Occurrences
- 4
- Severity
- warning
Sample message
Detected usage of a possibly undefined superglobal array index: $_SERVER['HTTP_HOST']. Check that the array index exists before using it.
ERRORMaintainabilityparse url parse urlparse_url() is discouraged because of inconsistency in the output across PHP versions; use wp_parse_url() instead.2
- Category
- Maintainability
- Occurrences
- 2
- Severity
- error
Sample message
parse_url() is discouraged because of inconsistency in the output across PHP versions; use wp_parse_url() instead.
ERRORI18nMissing Translators CommentA 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.2
- Category
- I18n
- Occurrences
- 2
- 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.
Show 8 moreShow less
ERRORMaintainabilityByte order mark found1
- Category
- Maintainability
- Occurrences
- 1
- Severity
- error
Sample message
File contains UTF-8 byte order mark, which may corrupt your application
WARNINGI18nDiscouraged text-domain loading1
- Category
- I18n
- Occurrences
- 1
- Severity
- warning
Sample message
load_plugin_textdomain() has been discouraged since WordPress version 4.6. When your plugin is hosted on WordPress.org, you no longer need to manually include this function call for translations under your plugin slug. WordPress will automatically load the translations for you as needed.
WARNINGMaintainabilityprevent path disclosure error reporting1
- Category
- Maintainability
- Occurrences
- 1
- Severity
- warning
Sample message
error_reporting() can lead to full path disclosure.
ERRORMaintainabilityfile system operations mkdir1
- Category
- Maintainability
- Occurrences
- 1
- Severity
- error
Sample message
File operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: mkdir().
ERRORMaintainabilityfile system operations readfile1
- Category
- Maintainability
- Occurrences
- 1
- Severity
- error
Sample message
File operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: readfile().
ERRORI18nNon Singular String Literal Text1
- Category
- I18n
- Occurrences
- 1
- Severity
- error
Sample message
The $text parameter must be a single text string literal. Found: __('Default: %s. Paste the shortcode you want to use, exactly as you would in frontend pages.', 'library-viewer')
ERRORI18nText Domain Mismatch1
- Category
- I18n
- Occurrences
- 1
- Severity
- error
Sample message
Mismatched text domain. Expected 'library-viewer' but got 'library-viewer-for-woocommerce'.
ERRORMaintainabilityMissing direct file access protection1
- Category
- Maintainability
- Occurrences
- 1
- Severity
- error
Sample message
PHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;
External Connections
Potential connections found in static code analysis.
Outbound calls
15
External assets
0
Incoming endpoints
0
Notable Domains
Platform / Reference Domains
External Asset Domains
No external asset domains detected.
Incoming Endpoints
No public endpoints detected.
Score History
First score snapshot
v3.3.1
39
Latest
- Findings
- 158
- Errors
- 65
- Warnings
- 93
- Check
- 2.0.0
| Scan | Score | Findings | Errors | Warnings | Plugin | Check |
|---|---|---|---|---|---|---|
| Latest | 39 | 158 | 65 | 93 | v3.3.1 | 2.0.0 |
Relationship Map
Author, categories, issues, domains, and nearby plugins.