Skip to content

Commit

Permalink
Merge pull request #10 from kanakiyajay/patch-1
Browse files Browse the repository at this point in the history
Correctly pass client_secret to the credential filter instead of client_id. Props @kanakiyajay
  • Loading branch information
leewillis77 committed Aug 31, 2014
2 parents 4437af5 + 3de4630 commit e14ddf1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion github-api.php
Expand Up @@ -57,7 +57,7 @@ function http_request_timeout( $seconds ) {
public function set_credentials() {

$this->client_id = apply_filters( 'github-embed-client-id', $this->client_id );
$this->client_secret = apply_filters( 'github-embed-client-secret', $this->client_id );
$this->client_secret = apply_filters( 'github-embed-client-secret', $this->client_secret );

}

Expand Down

0 comments on commit e14ddf1

Please sign in to comment.