Skip to content

Conversation

@andrewheberle
Copy link
Contributor

@andrewheberle andrewheberle commented Oct 10, 2021

Description of the Change

This change sets files with a SVG extension in the assets/ directory to image/svg+xml so SVG format plugin icons are rendered correctly.

Benefits

Ensures SVG images have the correct mime type.

Possible Drawbacks

Unknown

Verification Process

This is based on running the same manual command as has been added to deploy.sh

Checklist:

  • I have read the CONTRIBUTING document.
  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have added tests to cover my change.
  • All new and existing tests passed.

Applicable Issues

10up/action-wordpress-plugin-asset-update#31

Changelog Entry

Added setting of SVG format assets to image/svg+xml

@adriaandotcom
Copy link

Awesome, can this be merged?

@jeffpaul jeffpaul requested a review from helen October 22, 2021 14:44
@jeffpaul jeffpaul added this to the 2.1.0 milestone Jan 5, 2022
dinhtungdu
dinhtungdu previously approved these changes Jan 7, 2022
iamdharmesh
iamdharmesh previously approved these changes Jan 7, 2022
@adriaandotcom
Copy link

Thanks!

@jeffpaul
Copy link
Member

jeffpaul commented Jan 7, 2022

@andrewheberle mind resolving the merge conflicts so this can get merged in?

@jeffpaul
Copy link
Member

@dinhtungdu @iamdharmesh can one of you look to resolve the conflicts and then merge this in?

@andrewheberle andrewheberle dismissed stale reviews from iamdharmesh and dinhtungdu via 78f6d43 January 17, 2022 22:37
@andrewheberle
Copy link
Contributor Author

@jeffpaul sorry for the long delay here.

Conflicts are resolved.

Copy link
Contributor

@dinhtungdu dinhtungdu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@andrewheberle Thanks for the PR and update! LGTM!

@dinhtungdu dinhtungdu merged commit 93c80ab into 10up:develop Jan 18, 2022
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.

5 participants