Paytrail is a payment gateway that offers 20+ payment methods for Finnish customers.
Prioritized issue groups from the latest Plugin Check scan
Maintainability
43
12 issue groups
Security
21
5 issue groups
I18n
8
4 issue groups
Supply Chain
1
1 issue group
Sample message
Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$add_card_form_url".
Sample message
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'get_theme_mod'.
Sample message
Processing form data without nonce verification.
Sample message
print_r() found. Debug code should not normally be used in production.
Sample message
Function "wp_print_inline_script_tag()" requires WordPress 5.7.0, but your plugin minimum supported version is WordPress 4.9.0.
Sample message
Mismatched text domain. Expected 'paytrail-for-woocommerce' but got 'text-domain'.
Sample message
PHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;
Sample message
Detected usage of meta_query, possible slow query.
Sample message
$_SERVER['CONTENT_TYPE'] not unslashed before sanitization. Use wp_unslash() or similar
Sample message
Missing $domain parameter in function call to esc_html_e().
Sample message
The $text parameter must be a single text string literal. Found: get_theme_mod( 'paytrail_method_highlighted', '#33798d' )
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.
Sample message
Found call to wp_enqueue_style() with external resource. Offloading styles to your servers or any remote service is disallowed.
Sample message
Offloading images, js, css, and other scripts to your servers or any remote service is disallowed.
Sample message
Detected usage of meta_key, possible slow query.
Sample message
Detected usage of meta_value, possible slow query.
Sample message
Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "wc_payment_gateway_form_saved_payment_methods_html".
Sample message
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"Template $template ($templateFile) could not be found."'.
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
Resource version not set in call to wp_enqueue_style(). This means new versions of the style may not always be loaded due to browser caching.
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.
Sample message
Hidden files are not permitted.
Sample message
Tested up to: 6.9 < 7.0. The "Tested up to" value in your plugin is not set to the current version of WordPress. This means your plugin will not show up in searches, as we require plugins to be compatible and documented as tested up to the most recent version of WordPress.
Not analyzed yet.
First score snapshot
v2.7.0
35
Latest
| Scan | Score | Findings | Errors | Warnings | Plugin | Check |
|---|---|---|---|---|---|---|
| Latest | 35 | 74 | 28 | 46 | v2.7.0 | 2.0.0 |
Author, categories, issues, domains, and nearby plugins.