• Resolved igorwc

    (@igorwc)


    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)
  • Plugin Support Job a11n

    (@jobthomas)

    Automattic Happiness Engineer

    Hi @igorwc – this is not a thread regarding WC core but one regarding code submitted on the WC Marketplace. Please submit this request via https://woocommerce.com/my-account/create-a-ticket/ (there’s a “Marketplace Vendors” tab there you can use.

    I’m also going to mark this thread as resolved given that it’s not related to WC core.

Viewing 1 replies (of 1 total)
  • The topic ‘Marketplace phpcs issue’ is closed to new replies.