Repository navigation
v1.8.4
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 oldupgrader_post_installthat 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