mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 01:27:36 +01:00
Fix theme template field. fixes #4310 for 2.3
git-svn-id: http://svn.automattic.com/wordpress/trunk@5506 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
b634b18433
commit
aeb569d93d
@ -103,7 +103,7 @@ function get_theme_data( $theme_file ) {
|
||||
$author = sprintf( '<a href="%1$s" title="%2$s">%3$s</a>', $author_uri, __( 'Visit author homepage' ), wp_kses( trim( $author_name[1] ), $themes_allowed_tags ) );
|
||||
}
|
||||
|
||||
return array( 'Name' => $name, 'Title' => $theme, 'URI' => $theme_uri, 'Description' => $description, 'Author' => $author, 'Version' => $version, 'Template' => $template[1], 'Status' => $status );
|
||||
return array( 'Name' => $name, 'Title' => $theme, 'URI' => $theme_uri, 'Description' => $description, 'Author' => $author, 'Version' => $version, 'Template' => $template, 'Status' => $status );
|
||||
}
|
||||
|
||||
function get_themes() {
|
||||
|
Loading…
Reference in New Issue
Block a user