uupd/uupd-test-theme/uupd-test-theme
Stingray82 3120fae095 feat(uupd): PHP 7 compat + smarter GitHub assets; safer URL build; sturdier error caching
- 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
2025-08-12 16:58:45 +01:00
..
uupd V 1.2.4 Release 2025-07-06 19:23:59 +01:00
functions.php feat(uupd): PHP 7 compat + smarter GitHub assets; safer URL build; sturdier error caching 2025-08-12 16:58:45 +01:00
index.php Theme Updates checked including a default slug override to allow bulk updating of themes like in Ninja Updater, Fixed error in theme updates and pushed version to 1.2.4 this is a MUST upgrade for theme working 2025-07-06 18:38:07 +01:00
style.css feat(uupd): PHP 7 compat + smarter GitHub assets; safer URL build; sturdier error caching 2025-08-12 16:58:45 +01:00