Use get_bloginfo instead of get_option for https support
-
Hi,
In WP-Mashsocial-Widget.php on line 37, the following change should be made:
This:
$siteurl = get_option(‘siteurl’);should change to this:
$siteurl = get_bloginfo(‘siteurl’);The reason is that get_bloginfo will take into account if the page request is http or https and return the URI accordingly.
Thanks,
Jordan
The topic ‘Use get_bloginfo instead of get_option for https support’ is closed to new replies.