[wp-hackers] Themes: Moving from 1.2.x to 1.5

Owen Winkler ringmaster at midnightcircus.com
Mon Jan 31 14:32:17 GMT 2005


Ryan Boren wrote:
> Upgrading templates from 1.2.x to 1.5 is automatically done during
> upgrade if wp-content/themes is writable.  A theme named after the
> weblog title is automatically created from the existing template files
> and made the active theme.  We should mention somewhere that wp-
> content/themes should be made writable before install/upgrade.  Perhaps
> the install/upgrade itself should check for this and warn.

I'm too lazy to check- Does this happen if the theme already exists? 
That would be unfortunate.


> During a first time install of 1.5, a site theme is automatically
> created if wp-content/themes is writable.  The site theme is a copy of
> the default theme with a modified theme header.  It is named after the
> blog title.  Users should be encouraged to avoid making modifications
> directly to themes shipped with WP (Default and Classic).  They should
> be copied to another theme directory and renamed.  This avoids the
> overwrite-during-upgrade problems.

Are there notes in all of the theme files to this effect?  ("See codex 
page X before you modify this file!") That would be a good idea.

Owen




More information about the hackers mailing list