-
Notifications
You must be signed in to change notification settings - Fork 43
Add Experiments and Credentials row actions to plugin list #206
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Experiments and Credentials row actions to plugin list #206
Conversation
Replaces the 'Settings' link in the plugin action links with an 'Experiments' link, updating the label and destination accordingly.
Prepends a 'Credentials' link to the plugin action links in the admin, alongside the existing 'Experiments' link, for easier access to credential settings.
|
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 If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message. To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
Inserted a newline after adding the 'Experiments' link in the plugin_action_links function for improved code readability.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR improves the plugin row action links on the WordPress Installed Plugins screen to provide clearer navigation to the AI Experiments plugin's configuration pages.
Changes:
- Renamed the generic "Settings" link to "Experiments" for better clarity about what can be configured
- Added a new "Credentials" link for direct access to AI provider credentials management
- Updated the documentation comment to reflect both links
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #206 +/- ##
=============================================
+ Coverage 50.33% 50.80% +0.47%
- Complexity 366 375 +9
=============================================
Files 26 27 +1
Lines 1951 1978 +27
=============================================
+ Hits 982 1005 +23
- Misses 969 973 +4
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|

What?
Updates the AI Experiments plugin row actions on the WordPress Installed Plugins screen by:
Why?
The previous generic "Settings" label didn't clearly communicate what users would configure. Users frequently need to manage both experiments and credentials, but previously had to navigate through multiple admin screens to reach the credentials page. This change:
How?
Modified the plugin_action_links() function in
includes/bootstrap.phpto:options-general.php?page=ai-experiments)options-general.php?page=wp-ai-client)array_unshift()so they appear first in the row actionsTesting Instructions
Closes #205