Cardcom payment-gateway plugin for WooCommerce.
Prioritized issue groups from the latest Plugin Check scan
I18n
156
3 issue groups
Security
76
10 issue groups
Maintainability
47
12 issue groups
Sample message
Mismatched text domain. Expected 'woo-cardcom-payment-gateway' but got "cardcom".
Sample message
Processing form data without nonce verification.
Sample message
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"<script>window.top.location.href = \"$cancelUrl\";</script>"'.
Sample message
error_log() found. Debug code should not normally be used in production.
Sample message
strip_tags() is discouraged. Use the more comprehensive wp_strip_all_tags() instead.
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.
Sample message
$_GET['operation'] not unslashed before sanitization. Use wp_unslash() or similar
Sample message
The $text parameter must be a single text string literal. Found: $msg
Sample message
date() is affected by runtime timezone changes which can cause date/time to be incorrectly displayed. Use gmdate() instead.
Sample message
Processing form data without nonce verification.
Sample message
Detected usage of a non-sanitized input variable: $_GET['operation']
Sample message
All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'.
Sample message
Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "valid-cardcom-cancel-request".
Sample message
Detected usage of a possibly undefined superglobal array index: $_GET['operation']. Check that the array index exists before using it.
Sample message
Functions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "add_cardcom_gateway".
Sample message
print_r() found. Debug code should not normally be used in production.
Sample message
Function "get_user_locale()" requires WordPress 4.7.0, but your plugin minimum supported version is WordPress 3.3.0.
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
Classes declared by a theme/plugin should start with the theme/plugin prefix. Found: "WC_Gateway_Cardcom".
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.
Sample message
Missing $domain parameter in function call to __().
Sample message
Unescaped parameter $meta_table used in $wpdb->query()\n$meta_table assigned unsafely at line 1378.
Sample message
Use placeholders and $wpdb->prepare(); found interpolated variable {$meta_table} at "INSERT INTO {$meta_table} (order_id, meta_key, meta_value) VALUES (%d, %s, %s)\n
Sample message
Global constants defined by a theme/plugin should start with the theme/plugin prefix. Found: "PLUGIN_DIRECTORY".
Not analyzed yet.
First score snapshot
v3.5.0.9
35
Latest
| Scan | Score | Findings | Errors | Warnings | Plugin | Check |
|---|---|---|---|---|---|---|
| Latest | 35 | 285 | 201 | 84 | v3.5.0.9 | 2.0.0 |
Author, categories, issues, domains, and nearby plugins.