Mixed content warning and plugin is blocked with HTTPS
-
Is there a better option than what I did to fix this, so I don’t have to remember to do this manually whenever the plugin is updated?
I had to edit 2 lines in the code to make this work with https without getting the mixed content warning and no pinning:
js/pin-it-button-user-selects-image.js:
e.setAttribute(‘src’,’https://assets.pinterest.com/js/pinmarklet.js?r=’ + Math.random()*99999999);and
$link_href = ‘https://pinterest.com/pin/create/button/?url=’ . rawurlencode( $post_url ) . ‘&media=’ . rawurlencode( $image_url ) . ‘&description=’. rawurlencode( $description );
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Mixed content warning and plugin is blocked with HTTPS’ is closed to new replies.