Top Issues by Category
i18n98
security78
maintainability22
repo_compliance5
Issues Details
206 issues found in latest scan
The $domain parameter must be a single text string literal. Found: WC_ZPAL_TEXT_DOMAIN
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$message'.
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$errorMessage'.
Functions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "Load_ZarinPal_Gateway".
Processing form data without nonce verification.
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.
Processing form data without nonce verification.
$_GET['Authority'] not unslashed before sanitization. Use wp_unslash() or similar
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.
Classes declared by a theme/plugin should start with the theme/plugin prefix. Found: "WC_ZPal".
Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "WC_ZPal_Config".
Detected usage of a possibly undefined superglobal array index: $_GET['Authority']. Check that the array index exists before using it.
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.
Global constants defined by a theme/plugin should start with the theme/plugin prefix. Found: "WC_ZPAL_TEXT_DOMAIN".
All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'.
Detected usage of a non-sanitized input variable: $_SERVER['REQUEST_URI']
Resource version not set in call to wp_register_script(). This means new versions of the script may not always be loaded due to browser caching.
Scripts must be registered/enqueued via wp_enqueue_script()
Plugin name "Zarinpal Gateway" is different from the name declared in plugin header "افزونه پرداخت امن زرینپال برای ووکامرس".
PHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;
Tested up to: 6.7 < 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.
The "Domain Path" header in the plugin file must point to an existing folder. Found: "languages"
The "Plugin Name" header in the plugin file is not valid. It needs to contain at least 5 latin letters (a-Z) and/or numbers. This is necessary because the initial plugin slug is generated from the name.
The readme description contains unofficial language. It must be written in standard English.
Mismatched Requires at least: 4.5 != 5.8. "Requires at least" needs to be exactly the same with that in your main plugin file's header.
| Code | Type | Message | Count |
|---|---|---|---|
| WordPress.WP.I18n.NonSingularStringLiteralDomain | ERROR | The $domain parameter must be a single text string literal. Found: WC_ZPAL_TEXT_DOMAIN | 91 |
| WordPress.Security.EscapeOutput.OutputNotEscaped | ERROR | All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$message'. | 25 |
| WordPress.Security.EscapeOutput.ExceptionNotEscaped | ERROR | All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$errorMessage'. | 21 |
| WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedFunctionFound | WARNING | Functions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "Load_ZarinPal_Gateway". | 11 |
| WordPress.Security.NonceVerification.Recommended | WARNING | Processing form data without nonce verification. | 9 |
| WordPress.Security.SafeRedirect.wp_redirect_wp_redirect | WARNING | 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. | 7 |
| WordPress.Security.NonceVerification.Missing | WARNING | Processing form data without nonce verification. | 6 |
| WordPress.Security.ValidatedSanitizedInput.MissingUnslash | WARNING | $_GET['Authority'] not unslashed before sanitization. Use wp_unslash() or similar | 6 |
| WordPress.WP.I18n.MissingTranslatorsComment | ERROR | 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. | 6 |
| WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedClassFound | WARNING | Classes declared by a theme/plugin should start with the theme/plugin prefix. Found: "WC_ZPal". | 3 |
| WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedHooknameFound | WARNING | Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "WC_ZPal_Config". | 3 |
| WordPress.Security.ValidatedSanitizedInput.InputNotValidated | WARNING | Detected usage of a possibly undefined superglobal array index: $_GET['Authority']. Check that the array index exists before using it. | 2 |
| PluginCheck.CodeAnalysis.DiscouragedFunctions.load_plugin_textdomainFound | WARNING | 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. | 1 |
| WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedConstantFound | WARNING | Global constants defined by a theme/plugin should start with the theme/plugin prefix. Found: "WC_ZPAL_TEXT_DOMAIN". | 1 |
| WordPress.Security.EscapeOutput.UnsafePrintingFunction | ERROR | All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'. | 1 |
| WordPress.Security.ValidatedSanitizedInput.InputNotSanitized | WARNING | Detected usage of a non-sanitized input variable: $_SERVER['REQUEST_URI'] | 1 |
| WordPress.WP.EnqueuedResourceParameters.MissingVersion | WARNING | Resource version not set in call to wp_register_script(). This means new versions of the script may not always be loaded due to browser caching. | 1 |
| WordPress.WP.EnqueuedResources.NonEnqueuedScript | ERROR | Scripts must be registered/enqueued via wp_enqueue_script() | 1 |
| mismatched_plugin_name | WARNING | Plugin name "Zarinpal Gateway" is different from the name declared in plugin header "افزونه پرداخت امن زرینپال برای ووکامرس". | 1 |
| missing_direct_file_access_protection | ERROR | PHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit; | 1 |
| outdated_tested_upto_header | ERROR | Tested up to: 6.7 < 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. | 1 |
| plugin_header_nonexistent_domain_path | WARNING | The "Domain Path" header in the plugin file must point to an existing folder. Found: "languages" | 1 |
| plugin_header_unsupported_plugin_name | ERROR | The "Plugin Name" header in the plugin file is not valid. It needs to contain at least 5 latin letters (a-Z) and/or numbers. This is necessary because the initial plugin slug is generated from the name. | 1 |
| readme_description_non_official_language | ERROR | The readme description contains unofficial language. It must be written in standard English. | 1 |
| readme_mismatched_header_requires | ERROR | Mismatched Requires at least: 4.5 != 5.8. "Requires at least" needs to be exactly the same with that in your main plugin file's header. | 1 |
Latest Snapshot
Findings
206
Errors
151
Warnings
55
Score History
First score snapshot
First scan completed Jun 20, 2026
v5.0.17 · Plugin Check 2.0.0 · Model 2026.06-mvp-static-v2
Jun 20, 2026
v5.0.17
36
Latest
- Findings
- 206
- Errors
- 151
- Warnings
- 55
- Plugin Check
- 2.0.0
- Model
- 2026.06-mvp-static-v2
| Scan | Score | Findings | Errors | Warnings | Plugin | Plugin Check | Model |
|---|---|---|---|---|---|---|---|
| Jun 20, 2026Latest | 36 | 206 | 151 | 55 | v5.0.17 | 2.0.0 | 2026.06-mvp-static-v2 |