Skip to content

Conversation

matiasbenedetto
Copy link
Contributor

@matiasbenedetto matiasbenedetto commented Apr 6, 2023

What?

Replace theme slug in templates after getting media urls from them to avoid non-existing urls.

Why?

If we replace the slug before getting the media URLs and those urls contain the old slug name, we get non-existing URLs.

Thanks!

Thanks, @henriqueiamarino for reporting this issue.
Thanks, @vcanales for pairing on this!

matiasbenedetto and others added 3 commits April 6, 2023 14:15
… avoid non-existing urls.

If we replace the slug before getting the media URLs and those urls contain the old slug name, we get non-existing URLs.

Co-authored-by: vcanales <vicente.canales@automattic.com>
Co-authored-by: vcanales <vicente.canales@automattic.com>
Co-authored-by: vcanales <vicente.canales@automattic.com>
Copy link
Member

@vcanales vcanales left a comment

Choose a reason for hiding this comment

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

LGTM!

@matiasbenedetto matiasbenedetto merged commit 3d6b897 into trunk Apr 10, 2023
@madhusudhand madhusudhand deleted the fix/error-downloading-theme-asset branch April 12, 2023 07:11
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.

2 participants