Conversation
kowsar89
suggested changes
Jul 25, 2022
Contributor
kowsar89
left a comment
There was a problem hiding this comment.
FILE: /media/k/SSD/htdocs/wptest/wp-content/plugins/directorist/includes/checkout/class-checkout.php
42 | ERROR | [ ] Processing form data without nonce verification.
43 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'atbdp_format_payment_amount'.
43 | ERROR | [ ] Processing form data without nonce verification.
43 | ERROR | [ ] $_POST data not unslashed before sanitization. Use wp_unslash() or similar
43 | ERROR | [ ] Detected usage of a non-sanitized input variable: $_POST['amount']
71 | ERROR | [ ] Detected usage of a possibly undefined superglobal array index: $_SERVER['REQUEST_METHOD']. Use isset() or empty() to check the index exists before using it
73 | ERROR | [ ] Processing form data without nonce verification.
147 | ERROR | [ ] $_REQUEST data not unslashed before sanitization. Use wp_unslash() or similar
147 | ERROR | [ ] Detected usage of a non-sanitized input variable: $_REQUEST['order']
188 | ERROR | [ ] extract() usage is highly discouraged, due to the complexity and unintended issues it might cause.
331 | ERROR | [ ] Detected usage of a possibly undefined superglobal array index: $_SERVER['REQUEST_METHOD']. Use isset() or empty() to check the index exists before using it
FILE: /media/k/SSD/htdocs/wptest/wp-content/plugins/directorist/includes/checkout/functions.php
111 | ERROR | [ ] $_REQUEST data not unslashed before sanitization. Use wp_unslash() or similar
FILE: /media/k/SSD/htdocs/wptest/wp-content/plugins/directorist/includes/gateways/class-gateway.php
210 | ERROR | [ ] Visibility must be declared on method "gateway_settings_submenu"
231 | ERROR | [ ] Visibility must be declared on method "get_gateway_settings_fields"
341 | ERROR | [ ] Visibility must be declared on method "gateways_markup"
FILE: /media/k/SSD/htdocs/wptest/wp-content/plugins/directorist/includes/gateways/class-offline-gateway.php
FILE: /media/k/SSD/htdocs/wptest/wp-content/plugins/directorist/includes/payments/class-order.php
72 | ERROR | [ ] All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'.
73 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '__'.
73 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$currency'.
79 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$order['label']'.
80 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$order['desc']'.
83 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$before'.
83 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$after'.
90 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '__'.
90 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$currency'.
95 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$before'.
95 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$after'.
225 | ERROR | [ ] $_GET data not unslashed before sanitization. Use wp_unslash() or similar
225 | ERROR | [ ] Detected usage of a non-sanitized input variable: $_GET['payment_status']
228 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '__'.
230 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$value'.
230 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$title'.
250 | ERROR | [ ] $_GET data not unslashed before sanitization. Use wp_unslash() or similar
250 | ERROR | [ ] Detected usage of a non-sanitized input variable: $_GET['payment_status']
351 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$gateway'.
450 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '__'.
535 | ERROR | [ ] The $single arg must not contain interpolated variables. Found "$_action".
535 | ERROR | [ ] Missing singular placeholder, needed for some languages. See https://codex.wordpress.org/I18n_for_WordPress_Developers#Plurals
535 | ERROR | [ ] The $plural arg must not contain interpolated variables. Found "$_action".
535 | ERROR | [ ] $_REQUEST data not unslashed before sanitization. Use wp_unslash() or similar
535 | ERROR | [ ] Detected usage of a non-sanitized input variable: $_REQUEST[$action]
535 | ERROR | [ ] $_REQUEST data not unslashed before sanitization. Use wp_unslash() or similar
535 | ERROR | [ ] Detected usage of a non-sanitized input variable: $_REQUEST[$action]
FILE: /media/k/SSD/htdocs/wptest/wp-content/plugins/directorist/includes/payments/functions.php
103 | ERROR | [ ] extract() usage is highly discouraged, due to the complexity and unintended issues it might cause.
238 | ERROR | [ ] extract() usage is highly discouraged, due to the complexity and unintended issues it might cause.
Time: 884ms; Memory: 26MB
kowsar89
suggested changes
Jul 26, 2022
Contributor
kowsar89
left a comment
There was a problem hiding this comment.
FILE: /media/k/SSD/htdocs/wptest/wp-content/plugins/directorist/includes/checkout/class-checkout.php
42 | ERROR | [ ] Processing form data without nonce verification.
43 | ERROR | [ ] Processing form data without nonce verification.
43 | ERROR | [ ] Detected usage of a non-sanitized input variable: $_POST['amount']
73 | ERROR | [ ] Processing form data without nonce verification.
FILE: /media/k/SSD/htdocs/wptest/wp-content/plugins/directorist/includes/checkout/functions.php
FILE: /media/k/SSD/htdocs/wptest/wp-content/plugins/directorist/includes/gateways/class-gateway.php
FILE: /media/k/SSD/htdocs/wptest/wp-content/plugins/directorist/includes/gateways/class-offline-gateway.php
FILE: /media/k/SSD/htdocs/wptest/wp-content/plugins/directorist/includes/payments/class-order.php
73 | ERROR | [ ] All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$currency'.
FILE: /media/k/SSD/htdocs/wptest/wp-content/plugins/directorist/includes/payments/functions.php
103 | ERROR | [ ] extract() usage is highly discouraged, due to the complexity and unintended issues it might cause.
238 | ERROR | [ ] extract() usage is highly discouraged, due to the complexity and unintended issues it might cause.
Time: 746ms; Memory: 26MB
Contributor
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
includes >> checkout
includes >> gateways
includes >> payments