Aug 07

WordPress MU is a multi user or multi blog version of WordPress that is used to run sites like WordPress.com.

WordPress MU 2.8.3 is a security and bugfix release based on the fixes in WordPress 2.8.3 but also contains many other changes.

It’s a required upgrade for security reasons but also fixes a number of annoying bugs, especially #1067 and #1076.

Unfortunately the automatic upgrader in MU 2.8.2 is broken but it’s simple to fix:

  • Before upgrading, edit wp-admin/includes/class-wp-upgrader.php and look for line 697.
    if ( !$wp_filesystem->copy($working_dir . ‘/wordpress/wp-admin/includes/update-core.php’, $wp_dir . ‘wp-admin/includes/update-core.php’, true) ) {

  • See the “/wordpress/wp-admin/includes” bit? Change that to “/wordpress-mu/wp-admin/includes”:
    if ( !$wp_filesystem->copy($working_dir . ‘/wordpress-mu/wp-admin/includes/update-core.php’, $wp_dir . ‘wp-admin/includes/update-core.php’, true) ) {

  • Save the file and auto upgrade. I upgraded this afternoon without a hitch after making that change. It’s fixed in 2.8.3 so it’s the last time you’ll have to do it.

Do not copy and paste the line above as WordPress will have changed the quotes to “smart quotes”. Actually go in and type “-mu” after “wordpress”. No copy and pasting please!

If auto upgrading still doesn’t work, don’t sweat it. Download the new release from the download page and upgrade manually, overwriting your current install with the new files.

You might also like

If you like this post then please subscribe to my full RSS feed. You can also click here to subscribe by email. There are also my fabulous photos and funny videos to explore too!

39 Responses to “WordPress MU 2.8.3”

  1. WordSkill says:

    Good stuff, thanks Donncha.

    Looking forward to next week’s 2.8.4 :)

  2. [...] Was released this afternoon. It is a bug/security fix release. If you use the auto upgrade feature please read Donncha’s notes. [...]

  3. [...] As usual, Donncha the developer has all the details. WordpressMU 2.8.3 [...]

  4. [...] some related to security, which is always welcome. You can read Donncha’s full post on this here. Happy upgrading, and lots of applause to everybody who puts in so much time and effort on these [...]

  5. Dewey says:

    Thank you, sir! That promptly ended my hour long mission trying to figure out it kept failing. :)

  6. Jeremy says:

    In your blog, why not wrap the above code in <code> tags? That will stop it from doing smart quotes.

  7. Robert says:

    Glad i checked your blog before I hit the upgrade button :)

  8. [...] algo de retraso, imperdonable en esta ocasión, sale a la luz la versión 2.8.3 de WordPress Mu que soluciona el problema de seguridad que arrastra desde la versión 2.8, además de otros [...]

  9. [...] que la mise à jour automatique est défaillante dans la version 2.8.2, il vous est recommandé de lire ceci avant de mettre à jour et d’appliquer la modification si vous voulez utiliser la fonction de [...]

  10. Adam W. Warner says:

    Thanks as always sir, worked like a charm:)

  11. Seth says:

    Thanks for the posting the wp-class-upgrader.php fix!

  12. Jom says:

    Thanks a bunch. I was able to upgrade my wordpress MU with no sweat.

  13. Sanjeeva says:

    Great tip. Saved me from lots of trouble. Thanks.

  14. Mehmet GÜNDOĞDU says:

    Thank you :) now waiting 2.8.4

  15. Engelbert says:

    Great help! Thanks for that.

  16. ZKWC says:

    Thanks for the helpful info! Had no idea why it wasn’t unpacking. ;) That little fix works.

  17. swingJazz says:

    Thank you very much Donncha.

  18. ray says:

    little reminder to all code pasters: always remember to check code snippets you are pasting from a website into an editor for tick marks, inverted commas, single quotation marks – because ’ is not ‘ , even when it looks like it on this page.
    besides that: the update went through fine, so i must acknowledge that this was a really big mu-ing step!

  19. Angelo says:

    I use subversion to upgrade, but the repository at http://svn.automattic.com/wordpress-mu/ doesn’t contain a tag for 2.8.3 now… can you create one or let us know which revision number to use?

  20. Jeremy says:

    Angelo, the branch at http://svn.automattic.com/wordpress-mu/branches/2.8/ (use svn switch to switch to the branch) will be equivalent for now.

  21. Angelo says:

    I don’t want to end up with the latest commit on 2.8, I just want releases. Does stuff get commited to the branches in between releases?

  22. Angelo says:

    Ok, it looks like 2.8.3 is revision 1929 in trac, and looks like the branch isn’t updated yet… so I guess I’ll do that. But I’ll have to remember not to do any updates until the next release.

  23. Mat_ says:

    Thanks for the tip :)

  24. [...] I stumbled upon this page that provided a quick tip that allowed the automatic update to actually complete and sure enough, [...]

  25. Wabber says:

    Hi.. thanks for the tip.. worked perfectly :) Saved me trying to figure out which files to upload manually.. thanks!

  26. [...] 月 7 日,Donncha 大大发布了 MU 的新版本 2.8.3。本次更新,除解决了 WP 2.8.3 [...]

  27. Mark says:

    Hi,

    thanks for the workaround. I just tried it, but I got a warning message saying, that I am trying to download the en-us-Version which doesn’t match with my language version.

    So what to do?

    Kind Regards
    Mark

  28. kunal says:

    Sorry for the newbie question, but I would not see this problem if I was upgrading directly from a version prior to 2.8.2 would I? I am still running 2.7.1

    Also, is 2.8.4 expected soon? If so, I might just wait a bit and upgrade directly to that.

    Thanks!

  29. Mark says:

    Just found this today:

    http://wordpress.org/development/2009/08/2-8-4-security-release/

    So we are right now running from update to update … ;)

  30. [...] automatically from within your dashboard (first fix the upgrader if you haven’t updated to 2.8.3 yet), or download the new release from the download page and [...]

  31. [...] If you`re running WPMU 2.8.3 you should be able to use the built-in upgrade tool. Else try this. [...]

  32. Jason Friesen says:

    Perfect—worked a treat. Thanks for the instructions.

  33. Gaetan says:

    Thanks a lot Donncha!

  34. Mark de Scande says:

    Thx for the help now to update 24 MU Sites

    Bloglines SA

  35. [...] This ended up working since his was 2.8.2: link [...]

Leave a Reply

preload preload preload

Holy Shmoly! is Digg proof thanks to caching by WP Super Cache