Skip to content

Commit 2f1947e

Browse files
committed
Update url_helper
1 parent 4a2bdc4 commit 2f1947e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

helpers/url_helper.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,9 @@ function share_url($href = '', $platform = '', $app_id = '', $redirect = '', $di
4141
}
4242
} elseif ($platform === 'fb_send') {
4343
if ($display !== '') {
44-
$share_url = 'http://www.facebook.com/dialog/send?app_id=' . $app_id . '&display=' . $display . '&link=' . $share_link . '&redirect_uri=' . $redirect_link;
44+
$share_url = 'https://www.facebook.com/dialog/send?app_id=' . $app_id . '&display=' . $display . '&link=' . $share_link . '&redirect_uri=' . $redirect_link;
4545
} else {
46-
$share_url = 'http://www.facebook.com/dialog/send?app_id=' . $app_id . '&link=' . $share_link . '&redirect_uri=' . $redirect_link;
46+
$share_url = 'https://www.facebook.com/dialog/send?app_id=' . $app_id . '&link=' . $share_link . '&redirect_uri=' . $redirect_link;
4747
}
4848
} elseif ($platform === 'twitter') {
4949
$share_url = 'https://twitter.com/home?status=' . $share_link;

0 commit comments

Comments
 (0)