WordPress.org

Ready to get started?Download WordPress

Forums

When to run upgrade.php (6 posts)

  1. Nick Momrik
    Member
    Posted 10 years ago #

    When upgrading files from a nightly or CVS, should upgrade.php be ran each time, or only when upgrade.php or upgrade-functions.php are modified?
    Does it hurt to run it anways? Does it hurt to run it twice just to make sure?
    Thanks!

  2. Ryan Boren
    WordPress Dev
    Posted 10 years ago #

    It doesn't hurt to run it multiple times. Running it whenever the upgrade*.php files change will be sufficient. Any database change should be accompanied by an update to upgrade-functions.php.

  3. Nick Momrik
    Member
    Posted 10 years ago #

    Thanks rboren!
    That's what I figured and had been doing, but just wanted to double-check.

  4. Syrion
    Member
    Posted 10 years ago #

    Will an upgrade overwrite pages? (Like my slightly modified index.php?)

  5. Nick Momrik
    Member
    Posted 10 years ago #

    No, running the upgrade script only modifies the database.

  6. Syrion
    Member
    Posted 10 years ago #

    ok, thank you

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.