WordPress.org

Ready to get started?Download WordPress

Forums

how does the update feature work? (5 posts)

  1. computerslayer1
    Member
    Posted 4 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 :)

  2. Satya Prakash
    Member
    Posted 4 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.

  3. esmi
    Forum Moderator
    Posted 4 years ago #

    WordPress "calls home" at intervals to compare it's version number with the latest stable version for download.

  4. computerslayer1
    Member
    Posted 4 years ago #

    How does it "call" home?

  5. Ulrich Sossou
    Member
    Posted 4 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

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.