plugin-update-checker
plugin-update-checker copied to clipboard
showing "The Turnover calculator plugin is up to date." even i have push new update
please check this i'm new in plugin development thanks
require 'plugin-update-checker/plugin-update-checker.php';
$myUpdateChecker = Puc_v4_Factory::buildUpdateChecker(
'https://github.com/Jvon550/turnover-calculator/',
__FILE__,
'Turnover calculator'
);
//Set the branch that contains the stable release.
$myUpdateChecker->setBranch('master');
//Optional: If you're using a private repository, specify the access token like this:
// $myUpdateChecker->setAuthentication('your-token-here');
There's not enough information to say what exactly the problem is, but one potential issue that I noticed is that the Version header in your 2.4 release is 2.3, not 2.4.
What is the version that is currently installed on your site? Have you tried clicking the "check for updates" link under the plugin description on the "Plugins" page?