This plugin generates thumbnails for documents and displays them in a gallery-like format for easy sharing.
Prioritized issue groups from the latest Plugin Check scan
Security
186
9 issue groups
Maintainability
51
12 issue groups
I18n
27
4 issue groups
Sample message
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$ID'.
Sample message
All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'.
Sample message
Detected usage of a non-sanitized input variable: $_FILES[$var]['error']
Sample message
Processing form data without nonce verification.
Sample message
Processing form data without nonce verification.
Sample message
Detected usage of a possibly undefined superglobal array index: $_FILES[$var]['error']. Check that the array index exists before using it.
Sample message
$_GET['tab'] not unslashed before sanitization. Use wp_unslash() or similar
Sample message
Missing $domain parameter in function call to __().
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.
Sample message
Use of a direct database call is discouraged.
Sample message
Direct database call without caching detected. Consider using wp_cache_get() / wp_cache_set() or wp_cache_delete().
Sample message
print_r() found. Debug code should not normally be used in production.
Sample message
The $text parameter must be a single text string literal. Found: '<em>Thumber.co</em> is an external service capable of generating ' .\r\n 'thumbnails for the tricky file types that Document Gallery can\'t handle on its own. Files such as ' .\r\n 'Word, PowerPoint, and PDFs can all be processed, allowing you to provide a more complete experience ' .\r\n 'to your users. Further information, including a complete list of supported file types is available '.\r\n '<a href="https://www.thumber.co/about" target="_blank">here</a>.'
Sample message
Use placeholders and $wpdb->prepare(); found $meta_key
Sample message
Using cURL functions is highly discouraged. Use wp_remote_get() instead.
Sample message
File operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: fclose().
Sample message
unlink() is discouraged. Use wp_delete_file() to delete a file.
Sample message
Unescaped parameter $sql used in $wpdb->get_results()\n$sql assigned unsafely at line 293.
Sample message
File operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: fopen().
Sample message
Multiple placeholders in translatable strings should be ordered. Expected "%1$d, %2$s", but got "%d, %s" in 'Attempting to generate thumbnail for attachment #%d with (%s)'.
Sample message
PHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;
Sample message
Using cURL functions is highly discouraged. Use wp_remote_get() instead.
Sample message
debug_backtrace() found. Debug code should not normally be used in production.
Sample message
parse_url() is discouraged because of inconsistency in the output across PHP versions; use wp_parse_url() instead.
Sample message
Editor blocks must define "apiVersion" 3 or higher in block.json for WordPress 7.0+ iframe editor compatibility.
Potential connections found in static code analysis.
Outbound calls
36
External assets
0
Incoming endpoints
6
No external asset domains detected.
admin_post
wp_ajax
wp_ajax
wp_ajax
wp_ajax
wp_ajax
2 score snapshots
v5.1.1
29
Latest
v5.1.0
29
Score
| Scan | Score | Findings | Errors | Warnings | Plugin | Check |
|---|---|---|---|---|---|---|
| Latest | 29 | 281 | 183 | 98 | v5.1.1 | 2.0.0 |
| 29 | 281 | 183 | 98 | v5.1.0 | 2.0.0 |
Author, categories, issues, domains, and nearby plugins.