mirror of
https://gh.wpcy.net/https://github.com/stingray82/uupd.git
synced 2026-07-13 18:07:23 +08:00
- Add polyfill for str_ends_with for PHP < 8 and call \str_ends_with() in class scope. - Build remote URL robustly (handles .json endpoints and preserves existing query strings). - Prefer uploaded GitHub release .zip asset when present; fall back to zipball_url. - Support per-slug GitHub token override in both plugin and theme paths. - Normalize versions consistently; block pre-releases unless allow_prerelease = true. - Clear *_error transients on successful fetch; expanded debug logging and failure hooks. - Populate ‘requires’/‘tested’ where available; guard against empty server URL. Completed a Set of Main Tests (Github, Private Repo & in repo json) for Theme and Plugin on three versions of PHP |
||
|---|---|---|
| .. | ||
| uupd | ||
| functions.php | ||
| index.php | ||
| style.css | ||