[wp-hackers] Auto Update Plugins

Chris Williams chris at clwill.com
Thu Feb 19 00:11:15 GMT 2009


Which seems to me to be exactly how plugin upgrades should work, then this
entire discussion is obviated :)


> From: Otto <otto at ottodestruct.com>
> Reply-To: <wp-hackers at lists.automattic.com>
> Date: Wed, 18 Feb 2009 14:35:29 -0600
> To: <wp-hackers at lists.automattic.com>
> Subject: Re: [wp-hackers] Auto Update Plugins
> 
> On Wed, Feb 18, 2009 at 1:04 PM, scribu <scribu at gmail.com> wrote:
>> BTW, when core-upgrade is called, isn't the entire wp-content folder
>> preserved? Or just the themes, plugins and uploads folders?
> 
> A core upgrade basically copies all the new files from the
> distribution over the old ones. Then it goes through a list of "old
> files" (defined in wp-admin/includes/update-core.php" and deletes any
> files on that list. So any files not on the list and not in the
> distribution are preserved.
> 
> -Otto
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers



More information about the wp-hackers mailing list