Skip to content

Bug: Missing No-Provider UX Handling for Standalone Media Image Generation #572

Description

@hbhalodia

Description

Description

This issue originates from #182 and PR #523, which introduced handling for various edge cases and graceful notice behavior when no AI provider is configured.

However, one edge case was missed for image generation from the standalone media page: /wp-admin/upload.php?page=generate-image

Currently, if a user attempts to generate an image from this page without an AI provider configured, there is no indication that a provider setup is required. The action appears to have no effect, which may create confusion for users.

Please see atrached reproduction steps and screencast for detailed issue.

Step-by-step reproduction instructions

  1. Do not set any connectors.
  2. Go to page - /wp-admin/upload.php?page=generate-image
  3. Add a prompt and click generate image.
  4. You would notice it does nothing, no notice, no UI change.
  5. It's hard for users to identify what happened

Screenshots, screen recording, code snippet

Screen.Recording.2026-05-19.at.12.47.58.PM.mov

Environment info

  • WordPress - 7.0-RC3-62355
  • AI Plugin - Develop Branch

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

    Labels

    [Type] BugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status
    Done

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions