WordPress / WordPress/plugin-check
Add filter to customize PHPCS nonce check config
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 362
- Forks
- 126
- Avg merge
- 1d 23h
- Merged PRs (30d)
- 22
Description
See https://github.com/WordPress/plugin-check-action/issues/288 for original request
We could add a filter to allow setting things like customNonceVerificationFunctions, customSanitizingFunctions and customUnslashingSanitizingFunctions.
If there's already a suitable filter, we should document this use case.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading the original request in plugin-check-action issue 288 and locate the PHPCS nonce-check configuration handling. Check whether a suitable filter already exists; done means the named customNonceVerificationFunctions, customSanitizingFunctions, and customUnslashingSanitizingFunctions settings can be customized, with the use case documented if applicable.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100