• Resolved somethumb

    (@somethumb)


    Can I please make a suggestion for the PayPal Donate button URL? Many WordPress user opt to make their Admin login secure and therefore all URLs should be https. In the case of AdRotate, the PayPal URL is hardcoded as http on the adrotate-output.php and adrotate-info.php files.

    Can you please change the src path to the PayPal Donate button from http://www.paypal.com/en_US/i/btn/btn_donate_LG.gif to //www.paypal.com/en_US/i/btn/btn_donate_LG.gif so that it works both for http and https?

    Thanks

    https://ww.wp.xz.cn/plugins/adrotate/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter somethumb

    (@somethumb)

    One more item, in adrotate-ads-edit.php there is a constant for WP_PLUGIN_URL which is deprecated. The new way is to use the function plugins_url()

    So line 25 should not be: wp_enqueue_script(‘uploader-hook’, WP_PLUGIN_URL.’/’.ADROTATE_FOLDER.’/library/uploader-hook.js’, array(‘jquery’));

    It should be: wp_enqueue_script(‘uploader-hook’, plugins_url().’/’.ADROTATE_FOLDER.’/library/uploader-hook.js’, array(‘jquery’));

    That will solve the mixed content issue.

    Plugin Author Arnan

    (@adegans)

    I’ll have a look and make changes where required. Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Mixed Content’ is closed to new replies.