[wp-hackers] Upgrade instructions fatally flawed for Mac

Michael E. Hancock mhancock at us.net
Tue Jan 16 06:55:58 GMT 2007


From: "Elliotte Harold" <elharo at metalab.unc.edu>
> There is a major bug in the upgrade instructions on
> http://codex.wordpress.org/Upgrading_WordPress that can cause Mac users
> to lose their data. This needs to be corrected. The problem is here:
>
> Step 3: Overwrite Files
>
> Get the latest and greatest WordPress (http://wordpress.org/download)
> and upload it to the WordPress directory, overwriting all the files that
> exist there. This will preserve your images and themes.
>
> Actually it won't, at least not on a Mac. I think what happens on
> Windows is that when you copy a folder such as wp-content onto an
> existing folder, files inside the target folder are retained if the new
> folder does not contain different versions of those files. However, on a
> Mac the behavior is different. The entire target folder is completely
> wiped out and replaced by the new folder. No content from the target
> folder is retained under any circumstance.

Version 2.0.7 changes only these files, so for a Mac, how should the
instructions be written to put these files into "action"?

wp-settings.php
wp-admin/inline-uploading.php
wp-admin/post.php
wp-includes/classes.php
wp-includes/functions.php
wp-includes/version.php





More information about the wp-hackers mailing list