Browse Source

Merge pull request #10 from kanakiyajay/patch-1

Correctly pass client_secret to the credential filter instead of client_id. Props @kanakiyajay
widget
Lee Willis 11 years ago
parent
commit
e14ddf1aaa
  1. 2
      github-api.php

2
github-api.php

@ -57,7 +57,7 @@ class github_api {
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 );
}

Loading…
Cancel
Save