Krzysiek Dróżdż
krzysiek@wpmagus.pl
WPmagus.pl
Krzysiek Dróżdż










WordPress sends a request to server.
Using cron.
Every 12 hours.
wp_version_checkwp_update_pluginswp_update_themesFunctions in wp-includes/update.php
wp_version_checkwp_update_pluginswp_update_themesNotice: We can use filters: http_request_args and http_response and action: http_api_debug
The response is stored as transient, so it can be displayed later on
update_coreupdate_pluginsupdate_themesNotice: So we can access this info using filters: pre_set_transient_{$transient} and transient_{$transient}
An instance of one of these classes is constructed:
Notice: Available hooks: pre_auto_update, upgrader_pre_download, upgrader_process_complete and more…
We can:
Any other ideas?
As always… Name conflicts.
Krzysiek Dróżdż
krzysiek@wpmagus.pl
WPmagus.pl