Fails if images not hosted under site_url
-
responsive-image-polyfill.php:313
if(strpos($image->attributes['src'],site_url()) === false) return $image;
should be
if(strpos($image->attributes['src'],home_url()) === false) return $image;
and probably some other places too.
Example config: https://github.com/roots/bedrock/blob/master/.env.example
- The topic ‘Fails if images not hosted under site_url’ is closed to new replies.