[wp-hackers] readme.txt: "Requires PHP 5 tag"

Will Anderson wp-hackers at itsananderson.com
Fri Jul 17 01:57:05 UTC 2009


Actually, if you look at line 403 of
/wp-admin/includes/class-wp-upgrader.php you'll see that a filter is added
which calls a function do deactivate the plugin before it is upgraded. So
the upgrader in fact does exactly what I described as the manual process :)
-- 
Will Anderson
http://www.itsananderson.com/

On Thu, Jul 16, 2009 at 8:59 PM, Stephen Rider <wp-hackers at striderweb.com>wrote:

>
> On Jul 16, 2009, at 1:31 PM, Will Anderson wrote:
>
>  While it would be convenient to have an extra parameter or something, I
>> think the idea was to simulate the "correct" manual upgrade procedure.
>> That
>> is, disable the plugin, upload the update, then enable it again. This is
>> essentially what happens when you use the auto-upgrader, except that you
>> don't have to do any of it manually.
>>
>
> Except that doing it manually, the deactivation hook runs when you
> deactivate.  So actually the auto-update is completely unlike any other form
> of updating.
>
> Stephen
>
> _______________________________________________
> 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