computerslayer1
Member
Posted 3 years ago #
The update checker and updater features are pretty snazzy in wordpress. I can't say I've seen them reproduced as well elsewhere.
I've been racking my brain trying to figure out how the basics of it are done, but it escapes me.
I've tried looking at the source code and codex, but without a complete understanding of everything in the code base, I'm completely lost. Can anyone explain how it's done or point out some good references?
Thanks :)
Satya Prakash
Member
Posted 3 years ago #
your question is not clear to me.
Did you tried updating WP? It works very correctly. and it does not affect any changes you made in theme files. but all changes you have made in WP files will go. so you need to redo those work.
WordPress "calls home" at intervals to compare it's version number with the latest stable version for download.
computerslayer1
Member
Posted 3 years ago #
The update checker and other admin side update functions are here:
wp-admin/includes/update.php
The upgrade classes are in this file: wp-admin/includes/class-wp-upgrader.php