Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
GitHub Updater uses background processing of API calls as of version 7.0.0. It does this by passing off the API calls into WP-Cron for processing. This means that either WP-Cron must be active or you must have cPanel set up to run an actual cron job that calls
wp-cron.php or the wp-cli equivalent of
wp cron event run --due-now.
Background processing may cause the GitHub Updater Settings subtabs to show your repositories as broken with an red warning icon and will display fields or checkboxes to add repository specific tokens or Bitbucket private checkboxes. These will display until the background update process is complete and can be ignored. If there is really an issue the warning icon will persist. A tooltip on the icon will explain it's meaning. Simply wait for a minute or so and refresh the page.
Background processing may also cause the Settings subtabs to fail to display until some of the repositories are processed. This is only a cosmetic issue.
When background processing is complete, these cosmetic issues will disappear.
Force Background Processing
If you want to force background processing to initiate you can use either of the following methods.
- From wp-cli run the command
wp cron event run --due-now
- From the browser run
Revert To Foreground Processing
If you want to force foreground processing, the original method, you can add the following filter hook to your functions.php file.
add_filter( 'github_updater_disable_wpcron', '__return_true' );