Load the currently active theme into the theme editor upon first visit rather than Default.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1646 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
a165b366ab
commit
eec208f7bd
|
@ -92,7 +92,7 @@ default:
|
||||||
$themes = get_themes();
|
$themes = get_themes();
|
||||||
|
|
||||||
if (! isset($theme) || empty($theme)) {
|
if (! isset($theme) || empty($theme)) {
|
||||||
$theme = 'Default';
|
$theme = get_current_theme();
|
||||||
}
|
}
|
||||||
|
|
||||||
$stylesheet_files = $themes[$theme]['Stylesheet Files'];
|
$stylesheet_files = $themes[$theme]['Stylesheet Files'];
|
||||||
|
|
Loading…
Reference in New Issue