Skip to content

Clarify ignore-codes CLI documentation#1332

Open
ekamran wants to merge 1 commit into
WordPress:trunkfrom
ekamran:sftq/clarify-ignore-codes-cli-docs
Open

Clarify ignore-codes CLI documentation#1332
ekamran wants to merge 1 commit into
WordPress:trunkfrom
ekamran:sftq/clarify-ignore-codes-cli-docs

Conversation

@ekamran
Copy link
Copy Markdown

@ekamran ekamran commented May 29, 2026

Summary

Clarifies how --ignore-codes works in the WP-CLI documentation.

Changes

  • Explains that result codes are different from check slugs.
  • Adds an example for discovering result codes with --format=csv --fields=code,message.
  • Adds an example for ignoring missing_composer_json_file.
  • Clarifies that --exclude-files and --exclude-directories only apply to file-based scans and do not suppress plugin-level findings.

Fixes #1152.

Open WordPress Playground Preview

@github-actions
Copy link
Copy Markdown

The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the props-bot label.

If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.

Co-authored-by: ekamran <ekamran@git.wordpress.org>
Co-authored-by: ernilambar <nilambar@git.wordpress.org>
Co-authored-by: marekdedic <marekdedic@git.wordpress.org>

To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

How to disable missing_composer_json_file?

1 participant