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

Will Anderson wp-hackers at itsananderson.com
Fri Jul 17 02:11:53 UTC 2009


I hadn't noticed that comment. I stand corrected.

On Thu, Jul 16, 2009 at 10:06 PM, Aaron D. Campbell <aaron at xavisys.com>wrote:

> It doesn't deactivate the plugin normally though, it attempts to
> "Deactivate the plugin silently" and "Prevent deactivation hooks from
> running." Which means that the plugin is deactivated, but the plugin isn't
> TOLD that it was deactivated.
>
> I assume this is because some plugins uninstall themselves when they are
> deactivated and that's not what was wanted.
>
> Will Anderson wrote:
>
>> 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
>> :)
>>
>>
> _______________________________________________
> 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