Needs to support HTTPS
-
Currently the plugin is hard coded to use
https://
causing mixed content warnings on pages that usehttps://
.Could you possibly update the plugin to use
is_ssl()
to detect the current page scheme? I have a patch if you need it. It includes adding$scheme
to the list of supported HTML attributes:// Supported HTML attributes for the IMG tag $alt = $alt ? ' alt="' . esc_attr( $alt ) . '"' : ''; $title = $title ? ' title="' . esc_attr( $title ) . '"' : ''; $align = $align ? ' align="' . esc_attr( $align ) . '"' : ''; $style = $style ? ' style="' . esc_attr( $style ) . '"' : ''; $class = $class ? ' class="' . esc_attr( $class ) . '"' : ''; $id = $id ? ' id="' . esc_attr( $id ) . '"' : ''; $border = $border ? ' border="' . esc_attr( $border ) . '"' : ''; $scheme = is_ssl() ? 'https://' : 'https://';
And then making sure to replace the
https://
in the img tag with$scheme
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Needs to support HTTPS’ is closed to new replies.