Skip to content

Commit

Permalink
Makes the URL protocol independent
Browse files Browse the repository at this point in the history
  • Loading branch information
Frique committed Aug 3, 2014
1 parent 8180464 commit 091f6a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion social-connect.php
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ function sc_social_connect_process_login( $is_ajax = false ) {
$sc_first_name = $names[0];
$sc_last_name = $names[1];
$sc_screen_name = $_REQUEST[ 'social_connect_screen_name' ];
$sc_avatar = isset($_REQUEST[ 'social_connect_avatar' ]) ? $_REQUEST[ 'social_connect_avatar' ] : '';
$sc_avatar = isset($_REQUEST[ 'social_connect_avatar' ]) ? str_replace('http:', '', $_REQUEST[ 'social_connect_avatar' ]) : '';
$sc_profile_url = '';
// Get host name from URL
$site_url = parse_url( site_url() );
Expand Down

0 comments on commit 091f6a8

Please sign in to comment.