Accept online payment & QR from Malaysia. Currently, Bayarcash support FPX, Direct Debit, DuitNow, Credit Card, Boost, GrabPay, ShopeePay, Touch & …
Category Scores
Issues to Review
Prioritized issue groups from the latest Plugin Check scan
Security
122
9 issue groups
I18n
103
5 issue groups
Maintainability
53
11 issue groups
ERRORI18nNon Singular String Literal DomainThe $domain parameter must be a single text string literal. Found: $payment_method . '-wc'65
- Category
- I18n
- Occurrences
- 65
- Severity
- error
Sample message
The $domain parameter must be a single text string literal. Found: $payment_method . '-wc'
WARNINGSecurityNonce verification recommendedProcessing form data without nonce verification.29
- Category
- Security
- Occurrences
- 29
- Severity
- warning
Sample message
Processing form data without nonce verification.
ERRORI18nText Domain MismatchMismatched text domain. Expected 'bayarcash-wc' but got 'bayarcash-additional-merchant'.25
- Category
- I18n
- Occurrences
- 25
- Severity
- error
Sample message
Mismatched text domain. Expected 'bayarcash-wc' but got 'bayarcash-additional-merchant'.
WARNINGSecurityRequest data is not unslashed$_GET['bc-woo-failed'] not unslashed before sanitization. Use wp_unslash() or similar23
- Category
- Security
- Occurrences
- 23
- Severity
- warning
Sample message
$_GET['bc-woo-failed'] not unslashed before sanitization. Use wp_unslash() or similar
WARNINGSecurityMissing nonce verificationProcessing form data without nonce verification.19
- Category
- Security
- Occurrences
- 19
- Severity
- warning
Sample message
Processing form data without nonce verification.
WARNINGMaintainabilityMissing VersionResource 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.17
- Category
- Maintainability
- Occurrences
- 17
- Severity
- warning
Sample message
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.
ERRORSecurityOutput is not escapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"Invalid token key: $data_key"'.15
- Category
- Security
- Occurrences
- 15
- Severity
- error
Sample message
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"Invalid token key: $data_key"'.
WARNINGSecurityInterpolated SQL is not preparedUse placeholders and $wpdb->prepare(); found interpolated variable {$site_prefix} at ON {$site_prefix}posts.id = {$site_prefix}postmeta.post_id\n11
- Category
- Security
- Occurrences
- 11
- Severity
- warning
Sample message
Use placeholders and $wpdb->prepare(); found interpolated variable {$site_prefix} at ON {$site_prefix}posts.id = {$site_prefix}postmeta.post_id\n
WARNINGSecuritywp redirect wp redirectwp_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.9
- Category
- Security
- Occurrences
- 9
- Severity
- warning
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.
ERRORI18nMissing Translators CommentA 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.9
- Category
- I18n
- Occurrences
- 9
- Severity
- error
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.
Show 15 moreShow less
ERRORMaintainabilitydate date8
- Category
- Maintainability
- Occurrences
- 8
- Severity
- error
Sample message
date() is affected by runtime timezone changes which can cause date/time to be incorrectly displayed. Use gmdate() instead.
WARNINGMaintainabilityerror log print r8
- Category
- Maintainability
- Occurrences
- 8
- Severity
- warning
Sample message
print_r() found. Debug code should not normally be used in production.
ERRORSecurityException output is not escaped8
- Category
- Security
- Occurrences
- 8
- Severity
- error
Sample message
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$data_key'.
ERRORMaintainabilitywp function not compatible with requires wp5
- Category
- Maintainability
- Occurrences
- 5
- Severity
- error
Sample message
Function "str_contains()" requires WordPress 5.9.0, but your plugin minimum supported version is WordPress 5.6.0.
WARNINGSecurityInput is not sanitized4
- Category
- Security
- Occurrences
- 4
- Severity
- warning
Sample message
Detected usage of a non-sanitized input variable: $_GET['id']
WARNINGSecurityInput is not validated4
- Category
- Security
- Occurrences
- 4
- Severity
- warning
Sample message
Detected usage of a possibly undefined superglobal array index: $_GET['bc-woo-failed']. Check that the array index exists before using it.
ERRORMaintainabilityMissing direct file access protection4
- Category
- Maintainability
- Occurrences
- 4
- Severity
- error
Sample message
PHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;
ERRORI18nNon Singular String Literal Text3
- Category
- I18n
- Occurrences
- 3
- Severity
- error
Sample message
The $text parameter must be a single text string literal. Found: 'Enable ' . ucfirst($titles['method_title'])
WARNINGMaintainabilitytrademarked term3
- Category
- Maintainability
- Occurrences
- 3
- Severity
- warning
Sample message
The plugin name includes a restricted term. Your chosen plugin name - "Bayarcash WC" - contains the restricted term "wc" which cannot be used at all in your plugin name.
WARNINGMaintainabilityslow db query meta query2
- Category
- Maintainability
- Occurrences
- 2
- Severity
- warning
Sample message
Detected usage of meta_query, possible slow query.
WARNINGMaintainabilityNon-prefixed hook name2
- Category
- Maintainability
- Occurrences
- 2
- Severity
- warning
Sample message
Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "capability".
ERRORMaintainabilityDeprecated function: get_settings2
- Category
- Maintainability
- Occurrences
- 2
- Severity
- error
Sample message
get_settings() has been deprecated since WordPress version 2.1.0. Use get_option() instead.
WARNINGI18nDiscouraged text-domain loading1
- Category
- I18n
- Occurrences
- 1
- Severity
- warning
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.
WARNINGMaintainabilityDirect Query1
- Category
- Maintainability
- Occurrences
- 1
- Severity
- warning
Sample message
Use of a direct database call is discouraged.
WARNINGMaintainabilityNo Caching1
- Category
- Maintainability
- Occurrences
- 1
- Severity
- warning
Sample message
Direct database call without caching detected. Consider using wp_cache_get() / wp_cache_set() or wp_cache_delete().
External Connections
Potential connections found in static code analysis.
Outbound calls
130
External assets
0
Incoming endpoints
6
Notable Domains
Platform / Reference Domains
External Asset Domains
No external asset domains detected.
Incoming Endpoints
wp_ajax
wp_ajax
Admin AJAX endpoints4
wp_ajax
wp_ajax
wp_ajax
wp_ajax
Score History
First score snapshot
v4.4.0
33
Latest
- Findings
- 287
- Errors
- 149
- Warnings
- 138
- Check
- 2.0.0
| Scan | Score | Findings | Errors | Warnings | Plugin | Check |
|---|---|---|---|---|---|---|
| Latest | 33 | 287 | 149 | 138 | v4.4.0 | 2.0.0 |
Relationship Map
Author, categories, issues, domains, and nearby plugins.