We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi!, i follow the instructions and added the folder inside my plugin, i'm also calling the update file like this, but i doesn't work.
// Load the auto-update class require 'plugin-update-checker/plugin-update-checker.php'; $className = PucFactory::getLatestClassVersion('PucGitHubChecker'); $myUpdateChecker = new $className( 'https://github.com/surgeonsadvisor/sa-photo-gallery', FILE, 'master' ); $myUpdateChecker->setAccessToken('######myaccesstoken######');
but i get this,
Any help will be appreciated.
Best Regards.
The text was updated successfully, but these errors were encountered:
Interesting. That might be an oversight on my part. Try changing lines 95 to 97 in github-update-checker.php from this:
github-update-checker.php
if ( empty($info->download_url) ) { $info->download_url = $this->buildArchiveDownloadUrl($ref); }
To this:
if ( empty($info->download_url) ) { $info->download_url = $this->buildArchiveDownloadUrl($ref); } else if ( !empty($this->accessToken) ) { $info->download_url = add_query_arg('access_token', $this->accessToken, $info->download_url); }
Sorry, something went wrong.
Thank You! This work for me.
No branches or pull requests
Hi!,
i follow the instructions and added the folder inside my plugin, i'm also calling the update file like this, but i doesn't work.
// Load the auto-update class
require 'plugin-update-checker/plugin-update-checker.php';
$className = PucFactory::getLatestClassVersion('PucGitHubChecker');
$myUpdateChecker = new $className(
'https://github.com/surgeonsadvisor/sa-photo-gallery',
FILE,
'master'
);
$myUpdateChecker->setAccessToken('######myaccesstoken######');
but i get this,
Any help will be appreciated.
Best Regards.
The text was updated successfully, but these errors were encountered: