[wp-hackers] Child themes, theme revisions, and the theme editor
wp at andrewnacin.com
Wed Mar 24 07:04:34 UTC 2010
> Can’t you reuse the theme preview? In an iframe you could load and navigate
> the edited theme without breaking the real site.
The theme preview simply tells the blog (via a few GET parameters and a
permissions check) to use a different stylesheet and template directory.
Previewing the active theme is no different than viewing the live site.
Being able to edit an inactive theme and previewing it seems sensible. To do
this for the active theme, we'd need to keep a copy of the active theme for
editing purposes, which gets synced but allows for previews beforehand.
Seems potentially overkill, but it's a consideration, for sure.
More information about the wp-hackers