WordPress.org

Forums

Can I replace only the changed files for my 2.2.2 upgrade? (21 posts)

  1. Dgold
    Member
    Posted 7 years ago #

    There is a new security upgrade for WP, version 2.2.2

    My question: can I delete/replace only the changed files listed in TRAC, instead of re-uploading the entire new WP install?

    Secondly, has anyone made a ZIP that contains ONLY the changed/upgrade files?

    The list of changed-files from TRAC is here:
    http://trac.wordpress.org/changeset?new=branches%2F2.2%405849&old=branches%2F2.2%405725

  2. whooami
    Member
    Posted 7 years ago #

    I wouldnt reccomend it -- unless you have modified alot of the core files. As for the changed files in a zip, why? If you want to go that route, all you need to do is pick out the files that have changed from the list -- that seems a lot "safer" to me then having/trusting a third party do something.

  3. Dgold
    Member
    Posted 7 years ago #

    I trust you whooami. So will you do it?

    My personal reason is I cannot bear uploading TinyMCE, it has too many files and my FTP tends to disconnect mid-way for reasons I couldn't figure out. Then I have to start the upload again and it has to check every file again to see which ones didn't finish. It drives me batty watching 3 million file names and TinyMCE folders scroll thru my FTP log.

    And I don't even use TinyMCE. I dislike it (to put it kindly).

    The broader general reason is, why should every WP user (how many are there? Let's just pretend 500,000) upload ___kb of files, taking ___ minutes... when we really only need ___kb and ___ seconds to upload the 20 files that changed. Multiply by the # of users and that is an incredible amount of wasted time and bandwidth. Granted, time and bandwidth are free: it's the headaches that cost.

    As for the trust issue, I would trust WordPress.org to post a Full Complete WP 2.2.2, and a special ZIP of updated-files-only for current users upgrading specifically and exclusively from 2.2.1 to 2.2.2.

    Or I would trust a well-known third party, such as yourself, or the other blogger who posted the changed files when we went from 1.5.x to 2.0 (I forgot their blog name). I would also determine trust based on # of people who already tried it. In a community like this, if 5 people try it and it is a scam then we'll find out. If 15 peole have used it successfully and posted glowing Comments, I would not worry about trying it. We do this with Plugins and Themes all the time, which could have similarly devastating effects if it was a scam.

    For me it's the difference between being EXCITED to install an upgrade, versus dreading it to the point of not doing it for several weeks until I have plenty of time to watch the FTP log scroll 3 million times.

    The short answer is: the upgrades with WP are so frequent that it's annoying to reupload all the same files again and again, if they are not different.

    Thanks for your reply.

  4. mrmist
    Forum Janitor
    Posted 7 years ago #

    If you know the files aren't different, then there's logically no point in uploading them again. Computers are real sticklers for logic, so you should be fine.

    The key is ensuring that you do get all the changed stuff.

  5. whooami
    Member
    Posted 7 years ago #

    tiny mc does suck to upload doesnt it :) Thats a REALLY good point. lol.

    here ya go .. the changed files

    http://www.village-idiot.org/wordpress-changed-2.2.2.zip

  6. lexhair
    Member
    Posted 7 years ago #

    Thanks for the changed files zip. And you're right, it does suck to upload tiny mce.

  7. Dgold
    Member
    Posted 7 years ago #

    The ZIP of changed-files from whooami helped me upgrade 10 blogs in less than 30 minutes.

    This was a pleasing experience, much less of a headache, and not something I would dread doing every 2-3 months.

    Thanks Again.

    Such a ZIP file should be offered on the Official, for every iteration of upgrade:
    http://wordpress.org/download/

    That is my suggestion to WordPress.

  8. satoridork
    Member
    Posted 7 years ago #

    a ZIP file should be offered on the Official, for every iteration of upgrade:
    http://wordpress.org/download/

    That is a very good suggestion. I have lost count of the number of upgrades I have performed to my blog, but I am still nervous every time.

    The short upgrade-only-the-necessary-files is definitely the best way to go.

    Thank you whooami, whoever you are!

  9. whooami
    Member
    Posted 7 years ago #

    you're welcome!

  10. 4k
    Member
    Posted 7 years ago #

    Using whoomi's (patent pending) Ultimate Shortcut to Upgrade I upgraded 6 blogs in 20 minutes including backing up databases.

    I guess I need practise on infomercial writing.

    Thanks whooami, it really made a difference!

  11. whooami
    Member
    Posted 7 years ago #

    hahaha!

  12. zero1zero
    Member
    Posted 7 years ago #

    Bear with me as this is my first upgrade...

    Can I just upload the wordpress folder and write over the files it asks?

  13. zero1zero
    Member
    Posted 7 years ago #

    Yes? No?

  14. whooami
    Member
    Posted 7 years ago #

    What do the instructions on the codex say??? Did you read them?

    Theyre linked to RIGHT OFF the announcement page:

    http://wordpress.org/development/

  15. underdog74
    Member
    Posted 7 years ago #

    Yes you can, I did the same the other day and it worked like a charm

  16. JeremyVisser
    Member
    Posted 7 years ago #

    Better watch out people. In each release, files don't just get added and modified. They also get deleted.

    If you only ever upload added and changed files, and never delete the old ones, that has the potential to be very bad, especially if those files contained a security vulnerability.

  17. Daniel Tan aka BoltClock
    Member
    Posted 7 years ago #

    I did exactly that when upgrading to 2.2.2. Really saves the hassle since I didn't modify any of the core files.

    Better watch out people. In each release, files don't just get added and modified. They also get deleted.

    I'll keep that in mind, I believe the ChangeLog will tell us which files get deleted too :)

  18. h4x3d
    Member
    Posted 7 years ago #

    thanks, worked like a charm!
    wordpress should really feature a "changes only zip".

  19. stylo
    Member
    Posted 7 years ago #

    whooami Read me: "Open up wp-config-sample.php"

    There is no such file in the zip.

    Also, why are empty folder included?

  20. privatestorm
    Member
    Posted 7 years ago #

    Has anyone yet created a zip with only the changed files for 2.2.3?

  21. chaz7979
    Member
    Posted 7 years ago #

    Why haven't upgrade change zips become standard practice?

Topic Closed

This topic has been closed to new replies.

About this Topic