Skip to content
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

Fix deprecation warning #2

Merged
merged 1 commit into from Jun 9, 2023
Merged

Conversation

lukasIO
Copy link
Contributor

@lukasIO lukasIO commented May 25, 2021

The class argument of the svg() Twig function has been deprecated. The |attr filter should be used instead.

I adapted the code from the craft docs at https://craftcms.com/docs/3.x/dev/functions.html#svg

> The class argument of the svg() Twig function has been deprecated. The |attr filter should be used instead.

I adapted the code from the craft docs at https://craftcms.com/docs/3.x/dev/functions.html#svg
@rellafella
Copy link

@jalendport is there any reason this PR isn't being merged?

@jalendport jalendport changed the base branch from master to develop June 9, 2023 03:33
@jalendport jalendport merged commit 50f498b into jalendport:develop Jun 9, 2023
@jalendport
Copy link
Owner

Thanks for the PR - sorry for the delay in approving and merging.

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.

None yet

3 participants