Skip to content

Commit

Permalink
Revert "Using $this->http() to make http usage consistent"
Browse files Browse the repository at this point in the history
This reverts commit 6ca5861.
  • Loading branch information
George Stephanis committed Sep 4, 2014
1 parent 93efd3f commit 9876b52
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/sharedaddy/sharing-sources.php
Expand Up @@ -575,11 +575,11 @@ public function process_request( $post, array $post_data ) {
$post_link = $this->get_share_url( $post->ID );

// Using the same URL as the official button, which is *not* LinkedIn's documented sharing link
// http://www.linkedin.com/cws/share?url={url}&token=&isFramed=false
// https://www.linkedin.com/cws/share?url={url}&token=&isFramed=false

$linkedin_url = add_query_arg( array(
'url' => rawurlencode( $post_link ),
), $this->http() . '://www.linkedin.com/cws/share?token=&isFramed=false' );
), 'https://www.linkedin.com/cws/share?token=&isFramed=false' );

// Record stats
parent::process_request( $post, $post_data );
Expand Down

0 comments on commit 9876b52

Please sign in to comment.