Make WordPress Core

Opened 12 hours ago

Closed 12 hours ago

Last modified 3 hours ago

#65077 closed defect (bug) (duplicate)

Fix incorrect Settings URL for AI plugin in Connectors banner

Reported by: mukesh27's profile mukesh27 Owned by:
Milestone: Priority: normal
Severity: normal Version: trunk
Component: AI Keywords: has-patch
Focuses: administration Cc:

Description

The Connectors settings page contains a call-to-action (CTA) banner to install/manage the AI plugin. After the plugin is successfully installed, the button link directs users to an incorrect URL, resulting in a "Sorry, you are not allowed to access this page" error.

Steps to Reproduce:

  1. Log in to the WordPress Admin.
  2. Navigate to Settings > Connectors.
  3. In the banner, click the button to Install the AI plugin.
  4. Once installed, observe the button text updates to: "Control features in the AI plugin".
  5. Click this button.

Actual Results:

  • The button links to: wp-admin/options-general.php?page=ai
  • The user is met with a "Sorry, you are not allowed to access this page" error because that slug does not exist.

Expected Results:

  • The button should link to the correct AI plugin settings page: wp-admin/options-general.php?page=ai-wp-admin

Change History (7)

This ticket was mentioned in Slack in #core-ai by mukeshpanchal27. View the logs.


12 hours ago

#2 @ocean90
12 hours ago

  • Keywords needs-patch removed
  • Milestone 7.0 deleted
  • Resolution set to duplicate
  • Status changed from new to closed

Duplicate of #65073.

This ticket was mentioned in PR #11576 on WordPress/wordpress-develop by @nimeshatxecurify.


12 hours ago
#3

  • Keywords has-patch added

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

@audrasjb commented on PR #11576:


12 hours ago
#4

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

@nimeshatxecurify commented on PR #11576:


11 hours ago
#5

@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 https://github.com/WordPress/gutenberg/pull/77336

https://github.com/user-attachments/assets/2302a289-b160-42f6-ae1c-65630ef341f7

@audrasjb commented on PR #11576:


11 hours ago
#6

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

@JeffPaul commented on PR #11576:


3 hours ago
#7

A fix for this was already backported and will make it into 7.0 with the next sync: https://github.com/WordPress/gutenberg/pull/77336#issuecomment-4245449831

Note: See TracTickets for help on using tickets.