Skip to content

Core AI: Excerpt generation produces meta/explanatory content instead of clean excerpt after multiple attempts #398

@PriyankaGusani

Description

@PriyankaGusani

Description

While testing the Core AI excerpt generation in WordPress 7.0 RC, I observed inconsistent and incorrect output after multiple generations.

Expected behavior:

Each generation should return a clean, ready-to-use excerpt
Output should be concise and directly usable
No explanations, formatting notes, or metadata should be included

Actual behavior:

After multiple attempts, the AI generates meta-style content instead of a proper excerpt

The output I got:

Here's an excerpt that captures the key points concisely:

"Managing multiple WordPress sites manually is time-consuming and risky..."

This excerpt:

  • Highlights the core problem
  • Explains the automation solution concept
  • Mentions features
    The response includes:
    Explanation of the excerpt
    Bullet points describing it
    Quotes around the content

Why this is an issue:

Not production-ready output
Breaks UX expectations (users expect direct content, not explanation)
SEO risk if saved without editing
Indicates possible prompt leakage or improper output sanitization

Step-by-step reproduction instructions

  1. Opened a post in the editor
  2. Clicked on “Generate excerpt” multiple times (3–4 times)
  3. Observed the generated output

Screenshots, screen recording, code snippet

Image

Environment info

WordPress Version: 7.0 RC (Beta)
Feature: Core AI (Excerpt Generation)
Browser: Chrome (latest)
Setup: Local/Development environment

Please confirm that you have searched existing issues in the repo.

  • Yes

Please confirm that you have tested with all plugins deactivated except the AI plugin.

  • Yes

Please confirm which theme type you used for testing.

  • Block
  • Classic
  • Hybrid (e.g. classic with theme.json)
  • Not sure

Metadata

Metadata

Assignees

No one assigned

    Type

    No fields configured for Bug.

    Projects

    Status

    To do

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions