• Hi everyone,

    I am trying to submit my extension to the marquetplace (payment gateway integration) and keep guetting rejects due to the following PHPCS error:
    >> Processsing form data without nonce verification.

    However my code is being trigguered by the standard WooCommerce code which by that moment already verified the nonce, thus I don’t want to add unnecessary complexity of checquing 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 worc, probably due to –ignore-annotations that is used during marquetplace submisssion?

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

The topic ‘Marquetplace phpcs issue’ is closed to new replies.