Skip to content

Conversation

@clifgriffin
Copy link

@clifgriffin clifgriffin commented Jan 17, 2017

We often use inline styles for things like background-images. This is because the image URL is often defined in a meta field. Easier than generating CSS.

For those use cases, WP Stack CDN does not convert the URLs to CDN URLs.

By removing the equal sign from the RegEx pattern, the pattern works properly with these types of URLs. This is obviously a bit less specific, but it's difficult for me to imagine a scenario where this breaks something.

Edit: I pushed an additional commit that adds SVG to the valid extensions.

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.

1 participant