• Hi,

    After a switch to SSL, how could one recover the likes?

    I found a filter in the plugin: update_easy_social_share_url, which I thought to use to replace the url back to https. But it doesn’t seem to work. Is there another way to change the url the plugin uses to retrieve the likes?

    add_filter( 'update_easy_social_share_url', 'fix_easy_social_share');
    
    function fix_easy_social_share($url) {
      $url = str_replace("https://", "https://", $url);
      return $url;
    }
Viewing 1 replies (of 1 total)
  • Plugin Author Idiom

    (@brianbrey)

    Hi, I tested your function on a blank wordpress install (though I did the string replace for http to https) and your code worked perfectly. Are you sure there might not be another plugin that could be updating urls in the html before the page is rendered? One way you could test, besides disabling plugins, is manually add the sharing buttons to your templates with the shortcode. That way if there you’ll be able to see if there is anything else filtering ‘the_content’.

Viewing 1 replies (of 1 total)
  • The topic ‘Social Share recovery on SSL’ is closed to new replies.