Skip to content

[5.x] Fix Custom Set Icons not working if path contains a dot (.) #11866

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

Open
wants to merge 1 commit into
base: 5.x
Choose a base branch
from

Conversation

andjsch
Copy link
Contributor

@andjsch andjsch commented Jun 11, 2025

This PR fixes an issue with the svg-icon component not showing the icon if the path contains a dot somewhere.

In my case, the site directory on the staging server is the name of the full domain, which of course, contains a dot. E.g. example.com.

The global helper function data_get() splits strings by . leading the function to not work as expected.

fixes #11864

@andjsch
Copy link
Contributor Author

andjsch commented Jun 11, 2025

Here's the before:
image

and here the after:
image

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.

Custom Set Icons not working
1 participant