Skip to content

Conversation

@westonruter
Copy link
Member

@westonruter westonruter commented Apr 16, 2024

Summary

This is a sub-PR of #1145

With this, all PL plugins' Settings links are prepended:

image

Relevant technical choices

Additionally, the settings array key is used for the action link as otherwise 0 ends up getting rendered as the element's class name on the frontend. Having a settings key also makes it easier for other plugins to remove.

Before After
Screenshot 2024-04-15 17 33 24 Screenshot 2024-04-15 17 33 45

This same change is done to the PL plugin's Settings link in 18c2b5d.

@westonruter westonruter added the [Type] Enhancement A suggestion for improvement of an existing feature label Apr 16, 2024
@westonruter westonruter added this to the webp-uploads n.e.x.t milestone Apr 16, 2024
@github-actions
Copy link

github-actions bot commented Apr 16, 2024

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.

If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.

Co-authored-by: westonruter <[email protected]>
Co-authored-by: mukeshpanchal27 <[email protected]>
Co-authored-by: joemcgill <[email protected]>

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

Base automatically changed from add/speculative-loading-settings-link to trunk April 16, 2024 06:14
@westonruter westonruter merged commit 68ca4b7 into trunk Apr 19, 2024
@westonruter westonruter deleted the update/webp-uploads-settings-link branch April 19, 2024 15:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

[Type] Enhancement A suggestion for improvement of an existing feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants