ThemeFuse / Unyson

A WordPress framework that facilitates the development of WP themes
http://unyson.io
924 stars 218 forks source link

Image module adds extra 'https://' to all image sources. #4243

Open tonydjukic opened 2 years ago

tonydjukic commented 2 years ago

When using the IMAGE module in the Unyson page builder you can successfully select an image and in the editor it looks as though everything is working fine. On the front end however all of the images placed using the page builder are broken due an extra https:// being added to the SRC attribute.

For example, when placing an image one would expect the src attribute to be: https://domain.com/wp-content/uploads/image-name.jpg

On the front end, using dev tools to inspect, all of the images have src attributes with double protocols: https://https://domain.com/wp-content/uploads/image-name.jpg

All other plugins have been disabled and the issue continues.