Omise WooCommerce is the payment extension which provides support for Omise Payment Gateway for store builders working on the WooCommerce platform.
Category Scores
Issues to Review
Prioritized issue groups from the latest Plugin Check scan
Security
358
9 issue groups
Maintainability
188
13 issue groups
I18n
52
3 issue groups
ERRORSecurityOutput Not EscapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"<div class='notice notice-warning is-dismissible'><p>$message</p></div>"'.113
- Category
- Security
- Occurrences
- 113
- Severity
- error
Sample message
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"<div class='notice notice-warning is-dismissible'><p>$message</p></div>"'.
ERRORMaintainabilitymissing direct file access protectionPHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;79
- Category
- Maintainability
- Occurrences
- 79
- Severity
- error
Sample message
PHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;
WARNINGSecurityMissingProcessing form data without nonce verification.49
- Category
- Security
- Occurrences
- 49
- Severity
- warning
Sample message
Processing form data without nonce verification.
ERRORSecurityUnsafe Printing FunctionAll output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'.46
- Category
- Security
- Occurrences
- 46
- Severity
- error
Sample message
All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'.
WARNINGSecurityMissing Unslash$_GET['order_id'] not unslashed before sanitization. Use wp_unslash() or similar45
- Category
- Security
- Occurrences
- 45
- Severity
- warning
Sample message
$_GET['order_id'] not unslashed before sanitization. Use wp_unslash() or similar
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.39
- Category
- I18n
- Occurrences
- 39
- 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.
WARNINGSecurityInput Not SanitizedDetected usage of a non-sanitized input variable: $_GET['omise_upa_state']34
- Category
- Security
- Occurrences
- 34
- Severity
- warning
Sample message
Detected usage of a non-sanitized input variable: $_GET['omise_upa_state']
WARNINGMaintainabilityNon Prefixed Variable FoundGlobal variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$assetUrl".32
- Category
- Maintainability
- Occurrences
- 32
- Severity
- warning
Sample message
Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$assetUrl".
WARNINGSecurityInput Not ValidatedDetected usage of a possibly undefined superglobal array index: $_POST['live_private_key']. Check that the array index exists before using it.25
- Category
- Security
- Occurrences
- 25
- Severity
- warning
Sample message
Detected usage of a possibly undefined superglobal array index: $_POST['live_private_key']. Check that the array index exists before using it.
ERRORSecurityException Not EscapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$array'.24
- Category
- Security
- Occurrences
- 24
- Severity
- error
Sample message
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$array'.
Show 15 moreShow less
WARNINGSecurityRecommended16
- Category
- Security
- Occurrences
- 16
- Severity
- warning
Sample message
Processing form data without nonce verification.
ERRORMaintainabilityEcho Found14
- Category
- Maintainability
- Occurrences
- 14
- Severity
- error
Sample message
Short PHP opening tag used with echo; expected "<?php echo $bank ..." but found "<?= $bank ..."
WARNINGMaintainabilityNon Prefixed Function Found13
- Category
- Maintainability
- Occurrences
- 13
- Severity
- warning
Sample message
Functions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "WC".
WARNINGMaintainabilityNon Prefixed Hookname Found13
- Category
- Maintainability
- Occurrences
- 13
- Severity
- warning
Sample message
Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "woocommerce_gateway_icon".
WARNINGMaintainabilityNon Prefixed Class Found10
- Category
- Maintainability
- Occurrences
- 10
- Severity
- warning
Sample message
Classes declared by a theme/plugin should start with the theme/plugin prefix. Found: "Bootstrap_Test_Setup".
ERRORMaintainabilitywp function not compatible with requires wp10
- Category
- Maintainability
- Occurrences
- 10
- Severity
- error
Sample message
Function "get_rest_url()" requires WordPress 4.4.0, but your plugin minimum supported version is WordPress 4.3.1.
ERRORI18nNon Singular String Literal Text9
- Category
- I18n
- Occurrences
- 9
- Severity
- error
Sample message
The $text parameter must be a single text string literal. Found: $default_title
WARNINGSecuritywp redirect wp redirect6
- Category
- Security
- Occurrences
- 6
- 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.
ERRORMaintainabilityparse url parse url4
- Category
- Maintainability
- Occurrences
- 4
- Severity
- error
Sample message
parse_url() is discouraged because of inconsistency in the output across PHP versions; use wp_parse_url() instead.
ERRORI18nText Domain Mismatch4
- Category
- I18n
- Occurrences
- 4
- Severity
- error
Sample message
Mismatched text domain. Expected 'omise' but got 'woocommerce'.
WARNINGMaintainabilityNon Prefixed Trait Found3
- Category
- Maintainability
- Occurrences
- 3
- Severity
- warning
Sample message
Traits declared by a theme/plugin should start with the theme/plugin prefix. Found: "Charge_Request_Builder".
WARNINGMaintainabilityerror log error log3
- Category
- Maintainability
- Occurrences
- 3
- Severity
- warning
Sample message
error_log() found. Debug code should not normally be used in production.
ERRORMaintainabilityNon Enqueued Script3
- Category
- Maintainability
- Occurrences
- 3
- Severity
- error
Sample message
Scripts must be registered/enqueued via wp_enqueue_script()
WARNINGMaintainabilityNon Prefixed Constant Found2
- Category
- Maintainability
- Occurrences
- 2
- Severity
- warning
Sample message
Global constants defined by a theme/plugin should start with the theme/plugin prefix. Found: "PLUGIN_PATH".
ERRORMaintainabilitycurl curl close2
- Category
- Maintainability
- Occurrences
- 2
- Severity
- error
Sample message
Using cURL functions is highly discouraged. Use wp_remote_get() instead.
Score History
First score snapshot
v7.2.1
26
Latest
- Findings
- 614
- Errors
- 358
- Warnings
- 256
- Check
- 2.0.0
| Scan | Score | Findings | Errors | Warnings | Plugin | Check |
|---|---|---|---|---|---|---|
| Latest | 26 | 614 | 358 | 256 | v7.2.1 | 2.0.0 |