VietQR

Tự động tạo mã QR ngân hàng cho từng đơn hàng. Mã QR sẽ nhúng sẵn số tiền, mã đơn hàng, người mua quét QR xong chỉ cần bấm xác nhận là chuyển xong nga …

v3.5.3diepmagikUpdated Added 5k+ installs100% rating
45
Score
32
Errors
39
Warnings
+0
Change

Category Scores

Security13
Repo75
Performance100
Maintainability83

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

71 findings

Security

32

5 issue groups

I18n

19

3 issue groups

Maintainability

15

9 issue groups

Repo Compliance

5

5 issue groups

ERRORI18nText Domain MismatchMismatched text domain. Expected 'vietqr' but got 'casso-wordpress-plugin'.17
Category
I18n
Occurrences
17
Severity
error

Sample message

Mismatched text domain. Expected 'vietqr' but got 'casso-wordpress-plugin'.

WARNINGSecurityInput is not sanitizedDetected usage of a non-sanitized input variable: $_POST['vietqr_account_name']10
Category
Security
Occurrences
10
Severity
warning

Sample message

Detected usage of a non-sanitized input variable: $_POST['vietqr_account_name']

ERRORSecurityOutput is not escapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$js_code'.8
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 '$js_code'.

WARNINGSecurityInput is not validatedDetected usage of a possibly undefined superglobal array index: $_POST['vietqr_bank_name']. Check that the array index exists before using it.7
Category
Security
Occurrences
7
Severity
warning

Sample message

Detected usage of a possibly undefined superglobal array index: $_POST['vietqr_bank_name']. Check that the array index exists before using it.

WARNINGSecurityRequest data is not unslashed$_POST['woocommerce_vietqr_developer_id'] not unslashed before sanitization. Use wp_unslash() or similar6
Category
Security
Occurrences
6
Severity
warning

Sample message

$_POST['woocommerce_vietqr_developer_id'] not unslashed before sanitization. Use wp_unslash() or similar

WARNINGMaintainabilityMissing VersionResource version not set in call to wp_enqueue_script(). This means new versions of the script may not always be loaded due to browser caching.4
Category
Maintainability
Occurrences
4
Severity
warning

Sample message

Resource version not set in call to wp_enqueue_script(). This means new versions of the script may not always be loaded due to browser caching.

WARNINGMaintainabilityNon-prefixed constantGlobal constants defined by a theme/plugin should start with the theme/plugin prefix. Found: "WC_GATEWAY_VIETQR_PATH".3
Category
Maintainability
Occurrences
3
Severity
warning

Sample message

Global constants defined by a theme/plugin should start with the theme/plugin prefix. Found: "WC_GATEWAY_VIETQR_PATH".

WARNINGMaintainabilityNon-prefixed classClasses declared by a theme/plugin should start with the theme/plugin prefix. Found: "WC_Gateway_VietQR".2
Category
Maintainability
Occurrences
2
Severity
warning

Sample message

Classes declared by a theme/plugin should start with the theme/plugin prefix. Found: "WC_Gateway_VietQR".

WARNINGI18nDiscouraged text-domain loadingload_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
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.

WARNINGMaintainabilityNon-prefixed functionFunctions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "viet_qr_add_settings_link".1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

Functions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "viet_qr_add_settings_link".

Show 12 more
WARNINGMaintainabilityNon-prefixed hook name1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "active_plugins".

WARNINGSecurityNonce verification recommended1
Category
Security
Occurrences
1
Severity
warning

Sample message

Processing form data without nonce verification.

WARNINGMaintainabilityNot In Footer1
Category
Maintainability
Occurrences
1
Severity
warning

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.

ERRORI18nMissing Translators Comment1
Category
I18n
Occurrences
1
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.

ERRORMaintainabilityapplication detected1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

Application files are not permitted.

ERRORRepo Compliancelicense mismatch1
Category
Repo Compliance
Occurrences
1
Severity
error

Sample message

Your plugin has a different license declared in the readme file and plugin header. Please update your readme with a valid GPL license identifier.

ERRORRepo Complianceoutdated tested upto header1
Category
Repo Compliance
Occurrences
1
Severity
error

Sample message

Tested up to: 6.0 < 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.

ERRORRepo Compliancereadme description non official language1
Category
Repo Compliance
Occurrences
1
Severity
error

Sample message

The readme description contains unofficial language. It must be written in standard English.

WARNINGRepo Compliancereadme parser warnings trimmed short description1
Category
Repo Compliance
Occurrences
1
Severity
warning

Sample message

The "Short Description" section is too long and was truncated. A maximum of 150 characters is supported.

ERRORRepo Compliancereadme short description non official language1
Category
Repo Compliance
Occurrences
1
Severity
error

Sample message

The readme short description contains unofficial language. It must be written in standard English.

WARNINGMaintainabilityupdate modification detected1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

Plugin Updater detected. Detected code which may be altering WordPress update routines. Detected: auto_update_plugin

ERRORMaintainabilitywp function not compatible with requires wp1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

Function "wp_set_script_translations()" requires WordPress 5.0.0, but your plugin minimum supported version is WordPress 4.7.0.

Score History

First score snapshot

v3.5.3

45

Latest

Findings
71
Errors
32
Warnings
39
Check
2.0.0

Related Plugins