Make WordPress Core

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)

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

Download all attachments as: .zip

Change History (8)

@Nazgul
19 years ago

#1 @Nazgul
19 years ago

  • Keywords has-patch added
  • Milestone 2.1.22.2

Patch based on given code attached.

#2 @ryan
19 years ago

  • Resolutionfixed
  • Status newclosed

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

#3 @ryan
19 years ago

  • Resolution fixed
  • Status closedreopened

Wrong bug num. Reopen.

#4 @ryan
19 years ago

  • Resolutionfixed
  • Status reopenedclosed

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

#5 @Nazgul
19 years ago

  • Keywords commit added
  • Resolution fixed
  • Status closedreopened

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

#6 @markjaquith
19 years ago

Looks like an accident. Back it goes.

#7 @markjaquith
19 years ago

  • Resolutionfixed
  • Status reopenedclosed

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

Note: See TracTickets for help on using tickets.