Skip to content

Corrects AI plugin admin slug#11576

Open
nimesh-xecurify wants to merge 3 commits intoWordPress:trunkfrom
nimesh-xecurify:65077-ai-plugin-slug-fix
Open

Corrects AI plugin admin slug#11576
nimesh-xecurify wants to merge 3 commits intoWordPress:trunkfrom
nimesh-xecurify:65077-ai-plugin-slug-fix

Conversation

@nimesh-xecurify
Copy link
Copy Markdown

Ensures the correct slug (ai-wp-admin) is used for the AI plugin's administration page link.

Trac ticket: https://core.trac.wordpress.org/ticket/65077

Trac ticket: https://core.trac.wordpress.org/ticket/65073

Ensures the correct slug (`ai-wp-admin`) is used for the AI plugin's administration page link. This addresses potential conflicts or misdirection by distinguishing the admin page from the main plugin slug.

Fixes #65077
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 15, 2026

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.

Unlinked Accounts

The following contributors have not linked their GitHub and WordPress.org accounts: @1178653+wordpress-develop-pr-bot[bot]@users.noreply.github.com.

Contributors, please read how to link your accounts to ensure your work is properly credited in WordPress releases.

Core Committers: Use this line as a base for the props when committing in SVN:

Props nimeshatxecurify, audrasjb, jeffpaul, khokansardar.

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

@audrasjb
Copy link
Copy Markdown
Contributor

This PR don't have any changeset @nimesh-xecurify :)

@nimesh-xecurify
Copy link
Copy Markdown
Author

nimesh-xecurify commented Apr 15, 2026

@audrasjb The wordpress-develop-pr-bot updated the build, which contained the changes. I guess I will need to somehow reference the new build from WordPress/gutenberg#77336

image

@audrasjb
Copy link
Copy Markdown
Contributor

I still don't see any changeset in WordPress Core file ;)

This updates the pinned hash for the Gutenberg repository from
`e2970ba736edb99e08fb369d4fb0c378189468ee` to
`9408691b57517e8f65d6f2aedfee105ab32c9632`.

Includes the fix for the AI plugin settings page slug (see WordPress/gutenberg#77336):
the "Control features in the AI plugin" button now correctly links to
`options-general.php?page=ai-wp-admin` instead of `?page=ai`.
@github-actions
Copy link
Copy Markdown

Test using WordPress Playground

The changes in this pull request can previewed and tested using a WordPress Playground instance.

WordPress Playground is an experimental project that creates a full WordPress instance entirely within the browser.

Some things to be aware of

  • All changes will be lost when closing a tab with a Playground instance.
  • All changes will be lost when refreshing the page.
  • A fresh instance is created each time the link below is clicked.
  • Every time this pull request is updated, a new ZIP file containing all changes is created. If changes are not reflected in the Playground instance,
    it's possible that the most recent build failed, or has not completed. Check the list of workflow runs to be sure.

For more details about these limitations and more, check out the Limitations page in the WordPress Playground documentation.

Test this pull request with WordPress Playground.

@nimesh-xecurify nimesh-xecurify force-pushed the 65077-ai-plugin-slug-fix branch from dbc80dd to 20d2b95 Compare April 15, 2026 10:47
@jeffpaul
Copy link
Copy Markdown
Member

A fix for this was already backported and will make it into 7.0 with the next sync: WordPress/gutenberg#77336 (comment)

@itzmekhokan
Copy link
Copy Markdown

Cross-reference for #65073: I opened an alternate PR (#11614) that applies the same behavioral fix but names the new constant AI_PLUGIN_PAGE_SLUG to match the upstream source-of-truth in Gutenberg (WordPress/gutenberg#77336). Using the upstream name means the built files will line up with what core receives at the next Gutenberg sync.

No objection to this PR's approach — linking so a committer can pick whichever naming they prefer; one of the two should be closed as a dup once that decision is made.

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.

4 participants