[wp-hackers] any way to clean after theme when it gets deleted?

Davit Barbakadze jayarjo at gmail.com
Fri Jul 30 13:17:51 UTC 2010


It's not about switching (activate/deactivate), but deleting. It would
be pretty logical to remove all the stuff that theme has created on
activation.

On Fri, Jul 30, 2010 at 3:45 PM, Ashish Saini
<ashishsainiashfame at gmail.com> wrote:
> Hi Davit,
>
> I think a better option would be to provide uninstall function as leaving
> the options in the database makes sense as the user may switch back and so
> it will save the pain of configuring it.
>
> Thanks & Regards
> Ashish Saini aka Ashfame
> (Deserve Before You Desire)
> Homepage : http://www.ashfame.com | Blog : http://blog.ashfame.com | Twitter
> : http://twitter.com/ashfame
>
>
> On Fri, Jul 30, 2010 at 4:44 PM, <diana.j.wiadji at hotmail.com> wrote:
>
>> $
>> ------Original Message------
>> From: Davit Barbakadze
>> Sender: wp-hackers-bounces at lists.automattic.com
>> To: wp-hackers at lists.automattic.com
>> ReplyTo: wp-hackers at lists.automattic.com
>> Subject: [wp-hackers]  any way to clean after theme when it gets deleted?
>> Sent: Jul 30, 2010 18:02
>>
>> I think everyone uses options and maybe even tables in their themes
>> nowadays. Is there any way coder can clean up after theme - delete
>> options, remove tables - when it get's uninstalled. Something similar
>> to what we have for plugins?
>>
>> --
>> Davit Barbakadze
>> _______________________________________________
>> wp-hackers mailing list
>> wp-hackers at lists.automattic.com
>> http://lists.automattic.com/mailman/listinfo/wp-hackers
>>
>>
>>
>> Sent from my BlackBerry® smartphone on 3
>> _______________________________________________
>> wp-hackers mailing list
>> wp-hackers at lists.automattic.com
>> http://lists.automattic.com/mailman/listinfo/wp-hackers
>>
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>



-- 
Davit Barbakadze


More information about the wp-hackers mailing list