Skip to content

v1.8.4

Choose a tag to compare

@nimrod-cohen nimrod-cohen released this 13 Feb 20:33
· 9 commits to master since this release

GitHub Updater Rewrite

Fixes the "Download failed. Unauthorized" error and temp file cleanup issues.

Changes

  • Eliminated temp folder system — No more temp_folder/, repackaged zips, or leftover files in uploads
  • Download only on update — GitHub zip is now downloaded only when user clicks "Update Now" (previously downloaded on every admin page load)
  • Uses upgrader_source_selection — Standard WordPress hook to rename extracted folder, replacing the old upgrader_post_install that didn't return its value (breaking the filter chain)
  • Fixed finish_install() logic bug — Cache was never being cleared after plugin updates due to inverted condition
  • Better error handling — Validates GitHub API responses before processing