You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Content Classification Experiment feature provides AI suggestions for tags/categories to add to a post.
Expected: When a tag/category is selected (by clicking on it), if it fails to be added, it should be visible again for re-attempting to add it.
What currently happens: When a tag/category is selected, the frontend will always remove it first and will not add it back to the list if an error occurs in the api call resolving it.
Why this is a bug: It leads to a missing AI suggestion which could have still been utilised by re-attempting/manually entering it. It causes poor User Experience.
Step-by-step reproduction instructions
Ensure the AI features are enabled and Content Classification experiment is enabled.
Open the post editor.
Make a new post with atleast 150 words of content.
Open the Post sidebar.
Click Suggest Tags (or Categories) to get suggestions. Wait for suggestions to appear.
Turn off your internet connection or perform a simulation of it via developer console.
Click one of the suggested tag pills.
Result: The pill disappears immediately. When the network request fails, the pill never returns to the list and is lost forever.
Other possible reproduction steps can be: an unresponsive backend, a nonce expiry, an error in the backend which gets shown but will thus also lead to pill disappearance.
Screenshots, screen recording, code snippet
Screen.Recording.2026-06-24.at.4.37.04.PM.mov
Environment info
WordPress v7.0 , AI Plugin Version 1.0.2 - dev branch , Twenty Twenty-Five Theme
Opera GX browser
using Macbook with MacOS Tahoe v26
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.
Description
The Content Classification Experiment feature provides AI suggestions for tags/categories to add to a post.
Expected: When a tag/category is selected (by clicking on it), if it fails to be added, it should be visible again for re-attempting to add it.
What currently happens: When a tag/category is selected, the frontend will always remove it first and will not add it back to the list if an error occurs in the api call resolving it.
Why this is a bug: It leads to a missing AI suggestion which could have still been utilised by re-attempting/manually entering it. It causes poor User Experience.
Step-by-step reproduction instructions
Ensure the AI features are enabled and Content Classification experiment is enabled.
Other possible reproduction steps can be: an unresponsive backend, a nonce expiry, an error in the backend which gets shown but will thus also lead to pill disappearance.
Screenshots, screen recording, code snippet
Screen.Recording.2026-06-24.at.4.37.04.PM.mov
Environment info
Please confirm that you have searched existing issues in the repo.
Please confirm that you have tested with all plugins deactivated except the AI plugin.
Please confirm which theme type you used for testing.