Make WordPress Core

Opened 17 years ago

Closed 17 years ago

#3866 closed defect (bug) (fixed)

Theme URI not returned by get_theme_data

Reported by: tomk32's profile TomK32 Owned by:
Milestone: 2.2 Priority: normal
Severity: minor Version: 2.1.1
Component: Template Keywords: has-patch commit
Focuses: Cc:

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)

3866.diff (756 bytes) - added by Nazgul 17 years ago.

Download all attachments as: .zip

Change History (8)

@Nazgul
17 years ago

#1 @Nazgul
17 years ago

  • Keywords has-patch added
  • Milestone changed from 2.1.2 to 2.2

Patch based on given code attached.

#2 @ryan
17 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [5004]) get_archives query filters from westi. fixes #3866

#3 @ryan
17 years ago

  • Resolution fixed deleted
  • Status changed from closed to reopened

Wrong bug num. Reopen.

#4 @ryan
17 years ago

  • Resolution set to fixed
  • Status changed from reopened to closed

(In [5006]) Return theme uri in theme data. Props nazgul. fixes #3866

#5 @Nazgul
17 years ago

  • Keywords commit added
  • Resolution fixed deleted
  • Status changed from closed to reopened

These changes where (accidentally?) reverted by [5026].

#6 @markjaquith
17 years ago

Looks like an accident. Back it goes.

#7 @markjaquith
17 years ago

  • Resolution set to fixed
  • Status changed from reopened to closed

(In [5028]) [5006] didn't take. props Nazgul for the spot. fixes #3866

Note: See TracTickets for help on using tickets.