Marketplace phpcs issue
-
Hi everyone,
I am trying to submit my extension to the marketplace (payment gateway integration) and keep getting rejects due to the following PHPCS error:
>> Processing form data without nonce verification.However my code is being triggered by the standard WooCommerce code which by that moment already verified the nonce, thus I don’t want to add unnecessary complexity of checking the nonce once again. Is there a way to ignore the PHPCS rule for that line? I did try to use //phpcs:ignore WordPress.Security.NonceVerification but it doesn’t seem to work, probably due to –ignore-annotations that is used during marketplace submission?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Marketplace phpcs issue’ is closed to new replies.