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

Ashish Saini ashishsainiashfame at gmail.com
Fri Jul 30 14:18:22 UTC 2010


Andrew, I knew that. I just replied back with a possible solution for his
case.

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 7:15 PM, Andrew Nacin <wp at andrewnacin.com> wrote:

> On Fri, Jul 30, 2010 at 9:25 AM, Ashish Saini
> <ashishsainiashfame at gmail.com>wrote:
>
> > You didn't get my point. I said you should provide an uninstaller
> function
> > that wipes out data and it shouldn't be automated upon deactivation.
> >
>
> Not sure you got his point -- I believe Davit is referring to the
> implementation of an uninstall hook for themes. He's pretty clear he'd want
> that triggered on deletion, not deactivation. Basically, how it works for
> plugins.
>
> I think implementing themes uninstall hooks would be a logical future step.
> We could start by removing items created using the theme_mod functions,
> which I don't think most themes use, but we use it for storing metadata for
> custom backgrounds and headers.
> _______________________________________________
> 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