[wp-hackers] Theme updates and generated files

Austin Matzko if.website at gmail.com
Fri Sep 11 02:43:19 UTC 2009


On Thu, Sep 10, 2009 at 9:30 PM, [ ravi ] <ravi-lists at g8o.net> wrote:
> Does WP's new update capability (for plugins and themes) blow away the
> existing directory before it installs the new version of the plugin or
> theme?

Yes.

>  If so, if a theme wants (or more likely it's author wants) to create
> some files (such as a custom stylesheet), what's a good place to put it so
> it doesn't get blown away on update? The DB would be a poor place, IMHO.

This has been much discussed, without much of a consensus.   Please
see the thread that starts here:
http://lists.automattic.com/pipermail/wp-hackers/2009-February/024728.html

In my opinion, your best option currently is to save something like
that in the uploads directory.


More information about the wp-hackers mailing list