Skip to content
Corex

UpdateChecker

Corex\Update\UpdateChecker · class · Core layer

Decides whether a framework update is available — purely. Given the installed version and a fetched update manifest, it returns the update info when the manifest advertises a newer version (semantic compare), else null. No WordPress, no network — the UpdateService does the fetch + injects this into WP’s update flow (spec 034).

check(string $currentVersion, array $manifest): ?array

Section titled “check(string $currentVersion, array $manifest): ?array”