Don't list current theme in the availablet themes list.

git-svn-id: https://develop.svn.wordpress.org/trunk@3476 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren
2006-01-24 07:38:29 +00:00
parent 852e4073b7
commit 3855fbe248
2 changed files with 2 additions and 1 deletions

View File

@@ -1616,6 +1616,7 @@ function get_importers() {
function current_theme_info() {
$themes = get_themes();
$current_theme = get_current_theme();
$ct->name = $current_theme;
$ct->title = $themes[$current_theme]['Title'];
$ct->version = $themes[$current_theme]['Version'];
$ct->parent_theme = $themes[$current_theme]['Parent Theme'];