Make WordPress Core

Changeset 5006


Ignore:
Timestamp:
03/09/2007 04:15:17 AM (18 years ago)
Author:
ryan
Message:

Return theme uri in theme data. Props nazgul. fixes #3866

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/theme.php

    r4953 r5006  
    7979    $name = trim( $name );
    8080    $theme = $name;
     81    $theme_uri = trim( $theme_uri[1] );
    8182
    8283    if ( '' == $author_uri[1] ) {
     
    8687    }
    8788
    88     return array( 'Name' => $name, 'Title' => $theme, 'Description' => $description, 'Author' => $author, 'Version' => $version, 'Template' => $template[1], 'Status' => $status );
     89    return array( 'Name' => $name, 'Title' => $theme, 'URI' => $theme_uri, 'Description' => $description, 'Author' => $author, 'Version' => $version, 'Template' => $template[1], 'Status' => $status );
    8990}
    9091
Note: See TracChangeset for help on using the changeset viewer.