Let your customers upload files on (or after) WooCommerce checkout.
Prioritized issue groups from the latest Plugin Check scan
Security
93
5 issue groups
Maintainability
48
10 issue groups
I18n
38
4 issue groups
Sample message
Detected usage of a non-sanitized input variable: $_FILES['file']
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
$_GET['_wpnonce'] not unslashed before sanitization. Use wp_unslash() or similar
Sample message
Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "'woocommerce_get_settings_' . $this->id . '_' . $current_section".
Sample message
Processing form data without nonce verification.
Sample message
Detected usage of a possibly undefined superglobal array index: $_FILES['file']['tmp_name']. Check that the array index exists before using it.
Sample message
Classes declared by a theme/plugin should start with the theme/plugin prefix. Found: "Alg_WC_Checkout_Files_Upload".
Sample message
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$html'.
Sample message
unlink() is discouraged. Use wp_delete_file() to delete a file.
Sample message
Functions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "alg_current_filter_priority".
Sample message
Mismatched text domain. Expected 'checkout-files-upload-woocommerce' but got 'checkout-files-upload-for-woocommerce'.
Sample message
Multiple placeholders in translatable strings should be ordered. Expected "%1$c, %2$c", but got "%c, %c" in 'Other replaced values: %current_width%, %current_height%, %required_width%, %required_height%'.
Sample message
File operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: mkdir().
Sample message
File operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: readfile().
Sample message
The parameter "'orderby=name&hide_empty=0'" at position #2 of get_terms() has been deprecated since WordPress version 4.5.0. Instead do not pass the parameter.
Sample message
The use of function move_uploaded_file() is forbidden
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: $title
Sample message
The plugin slug includes a restricted term. Your plugin slug - "checkout-files-upload-woocommerce" - contains the restricted term "woocommerce" which cannot be used within in your plugin slug, unless your plugin slug contains one of the allowed patterns: "for woocommerce", "with woocommerce", "using woocommerce", or "and woocommerce". The term must still not appear anywhere else in your plugin slug.
Potential connections found in static code analysis.
Outbound calls
10
External assets
0
Incoming endpoints
2
No external asset domains detected.
wp_ajax
2 score snapshots
v2.3.0
38
Latest
v2.2.6
38
Score
| Scan | Score | Findings | Errors | Warnings | Plugin | Check |
|---|---|---|---|---|---|---|
| Latest | 38 | 179 | 57 | 122 | v2.3.0 | 2.1.0 |
| 38 | 177 | 57 | 120 | v2.2.6 | 2.0.0 |
Author, categories, issues, domains, and nearby plugins.