Commit Graph

10 Commits

Author SHA1 Message Date
Yahnis Elsts dfffd3cef2 * Fixed the "get_plugins() not found" error when running via Cron. 2010-09-28 06:46:07 +00:00
Yahnis Elsts 79097ff988 * Specify the full URL to info.json right away instead of assembling it from an "API" URL, the slug and constants. 2010-09-01 17:02:20 +00:00
Yahnis Elsts 98dc6dbe51 * Extra comments. 2010-08-31 15:47:27 +00:00
Yahnis Elsts 4dcbbfa83e * Kill debug code. 2010-08-30 19:00:21 +00:00
Yahnis Elsts 13ed8c3e8f * Add checking_for_updates=1 to the URL when loading info.json with the purpose of checking for updates.
* Increased info.json download timeout to 10 seconds.
* Be a good netizen and send the "Accept: application/json" header when asking for the info.json file.
* Don't check the plugin's version on every pageload. Too slow (get_plugins() scans all likely-looking .php files, which can be a lot). 
* Pass the return value of wp_remote_get() as the second arg. of the result filter callback.
2010-08-30 18:50:22 +00:00
Yahnis Elsts be3210884d * Added convenience functions for registering updater-related hooks.
* Use "&" as query argument separator (instead of the oft-default "&").
* Added the missing $slug suffix to the puc_request_info_result hook.
2010-08-30 09:39:13 +00:00
Yahnis Elsts d258708e87 * Disabled (not removed) some debug output. 2010-08-29 18:06:04 +00:00
Yahnis Elsts b45e825f58 * Forgot to call installHooks, shame on me.
* Fixed update retrieval.
2010-08-29 17:56:59 +00:00
Yahnis Elsts c9d2f5e2bb 2010-08-29 17:13:18 +00:00
Yahnis Elsts e7693bf832 2010-08-29 17:10:04 +00:00