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

Use get_template_directory_uri for fetching the account icon #10

Merged

Conversation

arunshenoy99
Copy link
Contributor

When generating a child theme for wonder I got this error saying that it could not find the account-icon in the header of the child theme. On exploring a bit I found that get_theme_file_uri was returning the child theme directory which would not contain the assets. This was an issue that was faced by TT2 as well which was fixed later on, attaching the TT2 fix PR
WordPress/twentytwentytwo#283. This PR does the same fix for account-icon.
Screenshot 2022-12-05 at 2 24 17 PM
Screenshot 2022-12-05 at 2 25 09 PM

@francgrasso
Copy link
Member

I'm merging this pull request and work to spread the fix to the whole theme because we have this issue on every pattern. Thanks for this report and hint!

@francgrasso francgrasso merged commit 6edb8a6 into yithemes:master Dec 12, 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.

None yet

2 participants