-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CLI: make it easier to exclude specific checks #308
Comments
Related example: WooCommerce would want to disable the trademark check, because they are allowed to use their own trademark. Another plugin might want to disable the |
Not sure how to best implement this, doesn't seem to be as straightforward as I thought it would be. @mukeshpanchal27 @felixarntz any thoughts? |
@swissspidy It would certainly be possible, but we would need to be careful to follow the same pattern as other parameters so that it is centrally handled and works with UI and WP-CLI. I think the foundation would need to be in We could then retrieve this denylist via
|
@swissspidy I actually just started looking into a related improvement. If you give me 1 hour or so, I'll open a PR with a related simplification that will improve this. |
@swissspidy The PR I implemented in #315 should make implementing this issue a bit more straightforward while improving the API for better separation of concerns. My last "either or" consideration in #308 (comment) could then become a new |
Now that #315 is merged... One issue that remains is that Even with that in place, implementing such an exclusion will be a bit cumbersome. From what I can see, I would need to add a new Between Aside: |
@swissspidy The entries in I think the approach I outlined in the beginning of #308 (comment) would be most straightforward. While it's a bit cumbersome to have to introduce 3 methods, they are very simple to implement, and that approach is currently needed for all the things to be wired correctly and properly support both AJAX and CLI in its possible configurations. |
Ah, I see! Then IMHO a new |
I don't think it's overkill. We already have |
Right now it's only possible to pass an allowlist, not a denylist
The text was updated successfully, but these errors were encountered: