WordPress.org

Support

Support » WP-Advanced » how does the update feature work?

how does the update feature work?

  • 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 🙂

Viewing 4 replies - 1 through 4 (of 4 total)
  • 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.

    esmi

    @esmi

    Forum Moderator

    WordPress “calls home” at intervals to compare it’s version number with the latest stable version for download.

    How does it “call” home?

    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

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘how does the update feature work?’ is closed to new replies.
Skip to toolbar