Skip to content

Documentation for all the whitelist comments #446

Closed

Description

It's difficult to determine which whitelist comments (eg. WPCS: sanitization ok) are available to use. These should be documented, and it would be good if the documentation recommended a standard format such as // WPCS: sanitization ok.

Here's the list I have. Are there more?

  • Escaping: XSS
  • Sanitising: sanitization
  • Nonce verification: CSRF
  • Loose comparison: loose comparison
  • Overriding WordPress globals: override
  • Use of superglobal: input var
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions