[wp-hackers] register_uninstall_hook VS uninstall.php
wp at andrewnacin.com
Sat May 8 18:55:19 UTC 2010
On Sat, May 8, 2010 at 2:43 PM, Davit Barbakadze <jayarjo at gmail.com> wrote:
> Well, thanks :) Although I think that's the case when an API is faulty and
> needs some improvement. Is it so hard to remove WP_UNINSTALL_PLUGIN
> definition from conditional?
It isn't, but it wasn't the point of the constant. The point was to provide
a safeguard for uninstall.php, not to allow the same callback to be used for
both an uninstall routine and something else.
You're welcome to open a ticket for it for > 3.0.
More information about the wp-hackers