Commit Graph

3 Commits

Author SHA1 Message Date
Yahnis Elsts e3cc1c03c9 Fixed a potential fatal error when the current PUC version is removed during an upgrade.
By default, PUC automatically checks for updates immediately after the user upgrades the plugin or theme. This can become a problem if the upgrade overwrites the PUC library with a different version. While checking for updates, PUC may attempt to autoload a class, which will trigger a fatal error if the class file was deleted during the upgrade.

Fixed by checking if the running PUC version still exists after the upgrade. If it doesn't, remove hooks and stop.
2020-02-15 15:28:12 +02:00
Yahnis Elsts 5cdadd0369 Fixed a bug where PUC might not properly whitelist the hostname used in the metadata URL if there were at least two active plugins using the same version of PUC. 2020-02-13 22:14:49 +02:00
Yahnis Elsts 28f29c940c Bump version number to 4.9 2020-02-07 13:07:19 +02:00
Renamed from Puc/v4p8/UpdateChecker.php (Browse further)