[wp-trac] [WordPress Trac] #3866: Theme URI not returned by get_theme_data

WordPress Trac wp-trac at lists.automattic.com
Sat Feb 24 16:46:33 GMT 2007


#3866: Theme URI not returned by get_theme_data
----------------------+-----------------------------------------------------
 Reporter:  TomK32    |       Owner:  anonymous
     Type:  defect    |      Status:  new      
 Priority:  normal    |   Milestone:  2.1.2    
Component:  Template  |     Version:  2.1.1    
 Severity:  minor     |    Keywords:           
----------------------+-----------------------------------------------------
 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 );

-- 
Ticket URL: <http://trac.wordpress.org/ticket/3866>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list