Can you add an option to add SSL support to the ShareThis plugin when "Enable Email Button" is enabled?
The code I'm referring to is (found in "include/dd-helper.php"):
if(!empty($email_option))
{
wp_deregister_script('dd_sharethis_js');
wp_register_script('dd_sharethis_js', 'http://w.sharethis.com/button/buttons.js');
wp_enqueue_script('dd_sharethis_js','http://w.sharethis.com/button/buttons.js',array('sharethis'),'1.0.0',true);
}
You would have to replace "http://w" with "https://ws" if a "SSL" checkbox is ticked for instance.
Thanks!
Can you add an option to add SSL support to the ShareThis plugin when "Enable Email Button" is enabled?
The code I'm referring to is (found in "include/dd-helper.php"):
You would have to replace "http://w" with "https://ws" if a "SSL" checkbox is ticked for instance.
Thanks!