Akismet: link the settings page header logo and title to the Akismet settings page - #51449
Conversation
|
Are you an Automattician? Please test your changes on all WordPress.com environments to help mitigate accidental explosions.
Interested in more tips and information?
|
|
Thank you for your PR! When contributing to Jetpack, we have a few suggestions that can help us test and review your patch:
This comment will be updated as you work on your PR and make changes. If you think that some of those checks are not needed for your PR, please explain why you think so. Thanks for cooperation 🤖 Follow this PR Review Process:
If you have questions about anything, reach out in #jetpack-developers for guidance! Jetpack plugin: The Jetpack plugin has different release cadences depending on the platform:
If you have any questions about the release process, please ask in the #jetpack-releases channel on Slack. |
Code Coverage SummaryCoverage changed in 1 file.
|
There was a problem hiding this comment.
Pull request overview
This PR updates the Jetpack Akismet admin chrome so the header logo and “Akismet Anti-spam” title act as a single link back to the Akismet settings page (admin.php?page=akismet-key-config), aligning with the clickable header pattern used elsewhere in Jetpack admin UIs.
Changes:
- Add a Jetpack changelog entry for the Akismet header behavior change.
- Convert the Akismet header title container from a
<div>to an<a>linking to the settings page. - Adjust header title styling to remove link decoration.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| projects/plugins/jetpack/changelog/update-akismet-header-link-settings | Adds a Jetpack changelog entry describing the Akismet header link update. |
| projects/plugins/jetpack/_inc/lib/admin-pages/class-akismet-admin-chrome.php | Wraps the Akismet header logo/title in a settings link and updates inline CSS for the header title. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
c5b6a1e to
e51f755
Compare
266b460 to
f374c2d
Compare
Akismet's own `#akismet-plugin-container a:focus-visible` rule outranked the bare class selector, so the keyboard focus ring never applied.
…ches Adds unit tests for Akismet_Admin_Chrome: the init_hooks and print_styles static guards that keep the chrome from rendering twice, both sides of the footer byline's connectable check, and the WordPress.com branch that drops the Products and Help links.
f374c2d to
6e09991
Compare
Proposed changes
admin.php?page=akismet-key-config). Akismet doesn't have a secondary nav, so clicking on the logo is important for navigation.Does this pull request change what data or activity we track or use?
No.
Testing instructions
admin.php?page=akismet-key-config).