mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-30 23:30:05 +00:00
Fix theme template field. fixes #4310 for 2.3
git-svn-id: https://develop.svn.wordpress.org/trunk@5506 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user