Opened 19 years ago
Closed 19 years ago
#3866 closed defect (bug) (fixed)
Theme URI not returned by get_theme_data
| Reported by: | TomK32 | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 2.2 |
| Component: | Template | Version: | 2.1.1 |
| Severity: | minor | Keywords: | has-patch commit |
| Cc: | Focuses: |
Description
It's getting grabbed from the style.css but it's not in the return array.
return array( 'Name' => $name, 'Title' => $theme, 'Description' => $description, 'Author' => $author, 'Version' => $version, 'Template' => $template[1], 'Status' => $status );
should be:
return array( 'Name' => $name, 'URI' => trim($theme_uri[1]), 'Title' => $theme, 'Description' => $description, 'Author' => $author, 'Version' => $version, 'Template' => $template[1], 'Status' => $status );
Attachments (1)
Change History (8)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Patch based on given code attached.