mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
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:
@@ -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'];
|
||||
|
||||
Reference in New Issue
Block a user