[wp-hackers] any way to clean after theme when it gets deleted?
Davit Barbakadze
jayarjo at gmail.com
Fri Jul 30 14:32:12 UTC 2010
theme_mod functions? what do they do?
On Fri, Jul 30, 2010 at 5:45 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
>
--
Davit Barbakadze
More information about the wp-hackers
mailing list