Skip to content

WordPress

Open source publishing software that powers a large share of the web.

Mostly friendly. Welcome, with extra rules.

Homepage Repository

WordPress permits AI-assisted code, tests, documentation, and issue drafts, but contributors must disclose meaningful AI use, review and test all output, stay accountable, and ensure GPL-compatible licensing. Large unreviewed “AI slop” and license-incompatible output may be rejected.

Policy by area

Code contributionsPatches, pull requests and other changes written with AI tools.
Mostly friendly
  • AI use must be disclosed
  • Contributor takes full responsibility
  • A human must review the output
  • Output must be license-compatible
Issues & bug reportsBug reports, security reports and issues found or written with AI tools.
Mostly friendly
  • AI use must be disclosed
  • A human must review the output
AI-written textPull request descriptions, issue comments and summaries written by AI.
Mostly friendly
  • AI use must be disclosed
  • A human must review the output

What is allowed and what is not

Code contributions

  • Autocomplete · Allowed with conditions

    AI completion tools such as Copilot are allowed when the tool can produce GPL-compatible output, meaningful use is disclosed, and you review, understand, and test the result.

    • Disclose AI use: Disclose meaningful AI assistance; optional for trivial assistance
    • Take full responsibility: Understand the code and be able to explain the approach in review
    • Review AI output first: Review, validate, and run appropriate tests before submitting
    • License-safe output: Tool terms must allow GPL-compatible output
    10 quotes

    The tool’s terms allow GPL-compatible licensing of the output.

    AI Guidelines | WordPress AI

    You disclose meaningful AI assistance.

    AI Guidelines | WordPress AI

    You review, understand, and test all contributions.

    AI Guidelines | WordPress AI

    If you leveraged AI in a meaningful way, please disclose it. For trivial assistance (for example, AI suggests a variable name or reorders imports), disclosure is optional.

    AI Guidelines | WordPress AI

    Treat AI output like code from an unknown external contributor: you must review and validate it before sharing it.

    AI Guidelines | WordPress AI

    Once submitted, code contributed by you, regardless of whether it was typed or AI-generated, is considered your code and therefore your responsibility.

    AI Guidelines | WordPress AI

    You must understand what the code does and why.

    AI Guidelines | WordPress AI

    You must be able to explain the approach during review.

    AI Guidelines | WordPress AI

    Do not use tools whose terms forbid using their output in GPL-licensed projects or impose additional restrictions on redistribution.

    AI Guidelines | WordPress AI
  • Small fixes · Allowed with conditions

    Allowed for small code changes, refactors, and scaffolding if you understand, test, and can explain the result and use a GPL-compatible tool with disclosure.

    • Disclose AI use: Disclose meaningful AI assistance
    • Take full responsibility: Understand the code and be able to explain the approach in review
    • Review AI output first: Review, validate, and run appropriate tests before submitting
    • License-safe output: Tool terms must allow GPL-compatible output; do not submit incompatible code
    17 quotes

    Scaffold or propose code (for example, initial implementation of a function, ReactReact React is a JavaScript library that makes it easy to reason about, construct, and maintain stateless and stateful user interfaces. https://reactjs.org component, or test).

    AI Guidelines | WordPress AI

    Suggest refactorings or alternative approaches.

    AI Guidelines | WordPress AI

    Generate boilerplate code (for example, test setups, data providers) that you validate.

    AI Guidelines | WordPress AI

    You must understand what the code does and why.

    AI Guidelines | WordPress AI

    You must run appropriate tests (unit, integration, end-to-end, as applicable).

    AI Guidelines | WordPress AI

    You must be able to explain the approach during review.

    AI Guidelines | WordPress AI

    If a reviewer asks, “What did the AI generate and what did you write?” or “Why is this the right approach?”, you should be able to answer clearly.

    AI Guidelines | WordPress AI

    Produce changes you do not fully understand.

    AI Guidelines | WordPress AI

    Introduce dependencies, patterns, or APIs that do not match WordPress’ standards or capabilities.

    AI Guidelines | WordPress AI

    Read every line and remove anything you cannot explain.

    AI Guidelines | WordPress AI

    Add or update tests to reflect the behavior. Do not rely solely on AI-generated test names and cases; verify them.

    AI Guidelines | WordPress AI

    Run the test suites that are relevant to your change and note the commands you used in the PR description.

    AI Guidelines | WordPress AI

    The tool’s terms allow GPL-compatible licensing of the output.

    AI Guidelines | WordPress AI

    You disclose meaningful AI assistance.

    AI Guidelines | WordPress AI

    You review, understand, and test all contributions.

    AI Guidelines | WordPress AI

    Do not use tools whose terms forbid using their output in GPL-licensed projects or impose additional restrictions on redistribution.

    AI Guidelines | WordPress AI

    Use AI to draft, then review yourself.

    AI Guidelines | WordPress AI
  • Large or generated changes · Allowed with conditions

    AI-assisted substantial code and initial implementations are allowed, but unreviewed code dumps and “AI slop” may be rejected; you must understand, test, and explain the work.

    • Disclose AI use: Disclose meaningful AI assistance
    • Take full responsibility: Understand the code and be able to explain the approach in review
    • Review AI output first: Read every line, validate, and run appropriate tests before submitting
    • License-safe output: Tool terms must allow GPL-compatible output; do not submit incompatible code
    20 quotes

    Scaffold or propose code (for example, initial implementation of a function, ReactReact React is a JavaScript library that makes it easy to reason about, construct, and maintain stateless and stateful user interfaces. https://reactjs.org component, or test).

    AI Guidelines | WordPress AI

    Large, unreviewed code dumps with minimal explanation or tests.

    AI Guidelines | WordPress AI

    Over-architected code where a simple solution would suffice.

    AI Guidelines | WordPress AI

    Maintainers may close or reject contributions that appear to be “AI slop” with little added human insight.

    AI Guidelines | WordPress AI

    You must understand what the code does and why.

    AI Guidelines | WordPress AI

    You must run appropriate tests (unit, integration, end-to-end, as applicable).

    AI Guidelines | WordPress AI

    You must be able to explain the approach during review.

    AI Guidelines | WordPress AI

    If a reviewer asks, “What did the AI generate and what did you write?” or “Why is this the right approach?”, you should be able to answer clearly.

    AI Guidelines | WordPress AI

    Produce changes you do not fully understand.

    AI Guidelines | WordPress AI

    Introduce dependencies, patterns, or APIs that do not match WordPress’ standards or capabilities.

    AI Guidelines | WordPress AI

    Generate direct copies of proprietary or unknown code (for example, “write the same logic as library X”).

    AI Guidelines | WordPress AI

    If a tool seems to output code that looks suspiciously like a well-known library or non-GPL-compatible project, do not submit it.

    AI Guidelines | WordPress AI

    Read every line and remove anything you cannot explain.

    AI Guidelines | WordPress AI

    Add or update tests to reflect the behavior. Do not rely solely on AI-generated test names and cases; verify them.

    AI Guidelines | WordPress AI

    Run the test suites that are relevant to your change and note the commands you used in the PR description.

    AI Guidelines | WordPress AI

    The tool’s terms allow GPL-compatible licensing of the output.

    AI Guidelines | WordPress AI

    You disclose meaningful AI assistance.

    AI Guidelines | WordPress AI

    You review, understand, and test all contributions.

    AI Guidelines | WordPress AI

    Do not use tools whose terms forbid using their output in GPL-licensed projects or impose additional restrictions on redistribution.

    AI Guidelines | WordPress AI

    Use AI to draft, then review yourself.

    AI Guidelines | WordPress AI
  • Mechanical changes · Allowed with conditions

    Boilerplate and repetitive refactoring are allowed if you validate the output and meet the same review, testing, disclosure, and licensing conditions.

    • Disclose AI use: Disclose meaningful AI assistance
    • Take full responsibility: Understand the code and be able to explain the approach in review
    • Review AI output first: Validate the generated boilerplate or refactoring and run appropriate tests
    • License-safe output: Tool terms must allow GPL-compatible output
    10 quotes

    Suggest refactorings or alternative approaches.

    AI Guidelines | WordPress AI

    Generate boilerplate code (for example, test setups, data providers) that you validate.

    AI Guidelines | WordPress AI

    You must understand what the code does and why.

    AI Guidelines | WordPress AI

    You must run appropriate tests (unit, integration, end-to-end, as applicable).

    AI Guidelines | WordPress AI

    You must be able to explain the approach during review.

    AI Guidelines | WordPress AI

    Read every line and remove anything you cannot explain.

    AI Guidelines | WordPress AI

    The tool’s terms allow GPL-compatible licensing of the output.

    AI Guidelines | WordPress AI

    You disclose meaningful AI assistance.

    AI Guidelines | WordPress AI

    You review, understand, and test all contributions.

    AI Guidelines | WordPress AI

    Do not use tools whose terms forbid using their output in GPL-licensed projects or impose additional restrictions on redistribution.

    AI Guidelines | WordPress AI
  • Tests · Allowed with conditions

    AI may draft tests and test steps, but you must verify them, remove imagined APIs, ensure determinism, and meet the same code conditions.

    • Disclose AI use: Disclose meaningful AI assistance
    • Take full responsibility: Understand and be able to explain the tests
    • Review AI output first: Verify realistic tests, remove imagined APIs, and ensure determinism
    • License-safe output: Tool terms must allow GPL-compatible output
    14 quotes

    Scaffold or propose code (for example, initial implementation of a function, ReactReact React is a JavaScript library that makes it easy to reason about, construct, and maintain stateless and stateful user interfaces. https://reactjs.org component, or test).

    AI Guidelines | WordPress AI

    Generate boilerplate code (for example, test setups, data providers) that you validate.

    AI Guidelines | WordPress AI

    You must run appropriate tests (unit, integration, end-to-end, as applicable).

    AI Guidelines | WordPress AI

    Add or update tests to reflect the behavior. Do not rely solely on AI-generated test names and cases; verify them.

    AI Guidelines | WordPress AI

    Proposing edge cases and additional test inputs.

    AI Guidelines | WordPress AI

    Translating manual test steps into automated test code.

    AI Guidelines | WordPress AI

    Drafting detailed manual test instructions for release or regression testing.

    AI Guidelines | WordPress AI

    Confirm that test cases are realistic for WordPress environments.

    AI Guidelines | WordPress AI

    Remove or adjust tests that depend on imagined APIs or features.

    AI Guidelines | WordPress AI

    Ensure tests are deterministic and do not rely on unstable external services.

    AI Guidelines | WordPress AI

    The tool’s terms allow GPL-compatible licensing of the output.

    AI Guidelines | WordPress AI

    You disclose meaningful AI assistance.

    AI Guidelines | WordPress AI

    You review, understand, and test all contributions.

    AI Guidelines | WordPress AI

    Do not use tools whose terms forbid using their output in GPL-licensed projects or impose additional restrictions on redistribution.

    AI Guidelines | WordPress AI
  • Build and CI · Allowed with conditions

    AI-assisted infrastructure code is covered by the general code rules, with the same review, testing, disclosure, and licensing conditions.

    • Disclose AI use: Disclose meaningful AI assistance
    • Take full responsibility: Understand the code and be able to explain the approach in review
    • Review AI output first: Review, validate, and run appropriate tests before submitting
    • License-safe output: Tool terms must allow GPL-compatible output
    9 quotes

    Scaffold or propose code (for example, initial implementation of a function, ReactReact React is a JavaScript library that makes it easy to reason about, construct, and maintain stateless and stateful user interfaces. https://reactjs.org component, or test).

    AI Guidelines | WordPress AI

    You must understand what the code does and why.

    AI Guidelines | WordPress AI

    You must run appropriate tests (unit, integration, end-to-end, as applicable).

    AI Guidelines | WordPress AI

    You must be able to explain the approach during review.

    AI Guidelines | WordPress AI

    Read every line and remove anything you cannot explain.

    AI Guidelines | WordPress AI

    The tool’s terms allow GPL-compatible licensing of the output.

    AI Guidelines | WordPress AI

    You disclose meaningful AI assistance.

    AI Guidelines | WordPress AI

    You review, understand, and test all contributions.

    AI Guidelines | WordPress AI

    Do not use tools whose terms forbid using their output in GPL-licensed projects or impose additional restrictions on redistribution.

    AI Guidelines | WordPress AI
  • Documentation · Allowed with conditions

    AI may draft documentation, but you must check links and names, be responsible for the text, disclose meaningful use, and ensure GPL-compatible licensing.

    • Disclose AI use: Disclose meaningful AI assistance
    • Take full responsibility: You are responsible for every line of documentation you submit
    • Review AI output first: Check links and API/hook/option names; have another contributor review high-impact documentation where possible
    • License-safe output: Documentation and included assets must be GPL-compatible
    18 quotes

    Draft inline documentation and comments that you then edit.

    AI Guidelines | WordPress AI

    Documentation sections.

    AI Guidelines | WordPress AI

    Dev notes and explanatory comments.

    AI Guidelines | WordPress AI

    Hallucinated references to APIs, hooks, or projects that do not exist.

    AI Guidelines | WordPress AI

    Fabricated links or citations.

    AI Guidelines | WordPress AI

    Content that does not reflect what you actually implemented.

    AI Guidelines | WordPress AI

    Overly verbose documentation; this too is quality over volume.

    AI Guidelines | WordPress AI

    Click each link and check that it is correct.

    AI Guidelines | WordPress AI

    Confirm function names, hook names, and option names.

    AI Guidelines | WordPress AI

    Have another contributor review high-impact documentation where possible.

    AI Guidelines | WordPress AI

    Ensure that any AI-assisted or externally sourced assets are licensed in a way that allows unrestricted redistribution under GPLv2 or later.

    AI Guidelines | WordPress AI

    Licensing requirements apply to all contributions to the WordPress project, not only source code.

    AI Guidelines | WordPress AI

    All such contributions must be compatible with GPLv2 or later and must not impose additional restrictions on redistribution or reuse.

    AI Guidelines | WordPress AI

    The tool’s terms allow GPL-compatible licensing of the output.

    AI Guidelines | WordPress AI

    You disclose meaningful AI assistance.

    AI Guidelines | WordPress AI

    You review, understand, and test all contributions.

    AI Guidelines | WordPress AI

    Do not use tools whose terms forbid using their output in GPL-licensed projects or impose additional restrictions on redistribution.

    AI Guidelines | WordPress AI

    Use AI to draft, then review yourself.

    AI Guidelines | WordPress AI
  • Translating the software · Allowed with conditions

    AI-assisted translation is allowed if a human fluent in the language reviews it.

    • Review AI output first: A human fluent in the language must review the translation
    Quote

    Use AI to help with translation, and then have a human fluent in the language review.

    AI Guidelines | WordPress AI
  • Images and media · Allowed with conditions

    AI-assisted images and media are allowed only if their licence is GPL-compatible or public-domain equivalent, with meaningful AI use disclosed.

    • License-safe output: GPL-compatible or public-domain-equivalent licence; no additional restrictions
    • Disclose AI use: Disclose meaningful AI assistance
    8 quotes

    Licensing requirements apply to all contributions to the WordPress project, not only source code.

    AI Guidelines | WordPress AI

    All such contributions must be compatible with GPLv2 or later and must not impose additional restrictions on redistribution or reuse.

    AI Guidelines | WordPress AI

    For images and other media assets, licenses equivalent to the public domain are acceptable. For example, CC0-licensed images are compatible with the GPL and may be used.

    AI Guidelines | WordPress AI

    Ensure that any AI-assisted or externally sourced assets are licensed in a way that allows unrestricted redistribution under GPLv2 or later.

    AI Guidelines | WordPress AI

    When AI meaningfully contributes to your work (beyond trivial reformatting), clearly mention that in your:

    AI Guidelines | WordPress AI

    If you leveraged AI in a meaningful way, please disclose it. For trivial assistance (for example, AI suggests a variable name or reorders imports), disclosure is optional.

    AI Guidelines | WordPress AI

    Do not use tools whose terms forbid using their output in GPL-licensed projects or impose additional restrictions on redistribution.

    AI Guidelines | WordPress AI

    The tool’s terms allow GPL-compatible licensing of the output.

    AI Guidelines | WordPress AI
  • Research and learning · Allowed

    AI may be used for note-taking and knowledge retrieval.

    Quote

    Use AI as an assistant for note-taking and knowledge retrieval.

    AI Guidelines | WordPress AI
  • Checking own work · Allowed with conditions

    AI may help review your own changes, but it cannot be the sole reviewer; human review is required for acceptance.

    • Review AI output first: AI may assist but cannot be the sole reviewer; human review is required for acceptance
    2 quotes

    AI tools may assist review (for example, by suggesting refactors or pointing out potential issues), but human review is required for acceptance into the WordPress project.

    AI Guidelines | WordPress AI

    Treat AI output like code from an unknown external contributor: you must review and validate it before sharing it.

    AI Guidelines | WordPress AI
  • Other code contributions rule · Allowed with conditions

    If unsure whether a tool is GPL-compatible, ask in #core-ai or #core; when in doubt, do not submit AI-generated code until you have an answer.

    5 quotes

    Pause and ask in the appropriate WordPress channels (for example, #core-ai for any AI projects). When in doubt, do not submit AI-generated code until you have an answer.

    AI Guidelines | WordPress AI

    Do not use tools whose terms forbid using their output in GPL-licensed projects or impose additional restrictions on redistribution.

    AI Guidelines | WordPress AI

    Do not rely on tools to “launder” incompatible licenses. If an AI output reproduces non-free or incompatible code, it cannot be included.

    AI Guidelines | WordPress AI

    Generate direct copies of proprietary or unknown code (for example, “write the same logic as library X”).

    AI Guidelines | WordPress AI

    If a tool seems to output code that looks suspiciously like a well-known library or non-GPL-compatible project, do not submit it.

    AI Guidelines | WordPress AI
  • Other code contributions rule · Allowed with conditions

    Maintainers may ask for clarification or more tests and explanations, and may reject or close contributions that appear to be AI slop or have unclear provenance, quality, testing, or licensing.

    6 quotes

    Maintainers may close or reject contributions that appear to be “AI slop” with little added human insight.

    AI Guidelines | WordPress AI

    Ask for clarification when a contribution appears heavily AI-generated.

    AI Guidelines | WordPress AI

    Request additional tests or explanations before merging.

    AI Guidelines | WordPress AI

    Large, unreviewed code dumps with minimal explanation or tests.

    AI Guidelines | WordPress AI

    Introduce dependencies, patterns, or APIs that do not match WordPress’ standards or capabilities.

    AI Guidelines | WordPress AI

    If a tool seems to output code that looks suspiciously like a well-known library or non-GPL-compatible project, do not submit it.

    AI Guidelines | WordPress AI
Not covered by the policy (2)

AI as author, Autonomous agents.

Issues & bug reports

Not covered by the policy (3)

Finding bugs with AI, Security reports, Bots filing issues.

AI-written text

  • Pull request descriptions · Allowed with conditions

    AI may draft PR descriptions if you correct and extend the text and disclose meaningful assistance.

    • Disclose AI use: Disclose meaningful AI assistance
    • Review AI output first: Correct and extend the AI draft; avoid generic context-free text
    5 quotes

    When AI meaningfully contributes to your work (beyond trivial reformatting), clearly mention that in your:

    AI Guidelines | WordPress AI

    Generic, context-free PR descriptions or issues that do not reflect real testing or experience.

    AI Guidelines | WordPress AI

    Issue and PR descriptions.

    AI Guidelines | WordPress AI

    Ask AI to summarize a change, then correct and extend that summary.

    AI Guidelines | WordPress AI

    If you leveraged AI in a meaningful way, please disclose it. For trivial assistance (for example, AI suggests a variable name or reorders imports), disclosure is optional.

    AI Guidelines | WordPress AI
  • Reviewing others' work · Allowed with conditions

    AI may assist reviewing other people's patches, but a human reviewer is required; AI cannot be the sole reviewer.

    • Review AI output first: AI may assist but cannot be the sole reviewer; human review is required for acceptance
    Quote

    AI tools may assist review (for example, by suggesting refactors or pointing out potential issues), but human review is required for acceptance into the WordPress project.

    AI Guidelines | WordPress AI
  • Translating own text · Allowed with conditions

    AI may help translate text if a human fluent in the language reviews it.

    • Review AI output first: A human fluent in the language must review the translation
    Quote

    Use AI to help with translation, and then have a human fluent in the language review.

    AI Guidelines | WordPress AI
  • Proofreading · Allowed

    AI may rewrite or rephrase a draft you wrote; disclosure is optional for trivial assistance.

    3 quotes

    Use AI to propose alternative phrasings for complex topics.

    AI Guidelines | WordPress AI

    Ask AI to rewrite an initial draft you have written.

    AI Guidelines | WordPress AI

    If you leveraged AI in a meaningful way, please disclose it. For trivial assistance (for example, AI suggests a variable name or reorders imports), disclosure is optional.

    AI Guidelines | WordPress AI
Not covered by the policy (7)

Commit messages, Comments, Answering reviewers, Forum and list posts, Quoting AI output, Summarizing discussions, Bots posting.

General

  • AI tools can assist but are not contributors; the person submitting the work remains responsible and must be able to explain it.

    “AI tools can assist, but they are not contributors.” (AI Guidelines | WordPress AI)

    “Once submitted, code contributed by you, regardless of whether it was typed or AI-generated, is considered your code and therefore your responsibility.” (AI Guidelines | WordPress AI)

    “Be prepared to iterate on AI-assisted changes based on reviewer feedback.” (AI Guidelines | WordPress AI)

    “Be ready to explain and, if necessary, simplify your implementation.” (AI Guidelines | WordPress AI)

Sources