Changeset 12733 for trunk/wp-includes/theme.php
- Timestamp:
- 01/15/2010 10:11:12 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/theme.php
r12598 r12733 171 171 */ 172 172 function get_theme_data( $theme_file ) { 173 $default_headers = array( 174 'Name' => 'Theme Name', 175 'URI' => 'Theme URI', 176 'Description' => 'Description', 177 'Author' => 'Author', 173 $default_headers = array( 174 'Name' => 'Theme Name', 175 'URI' => 'Theme URI', 176 'Description' => 'Description', 177 'Author' => 'Author', 178 178 'AuthorURI' => 'Author URI', 179 'Version' => 'Version', 180 'Template' => 'Template', 181 'Status' => 'Status', 179 'Version' => 'Version', 180 'Template' => 'Template', 181 'Status' => 'Status', 182 182 'Tags' => 'Tags' 183 183 ); … … 371 371 $template_files = array_unique($template_files); 372 372 $stylesheet_files = array_unique($stylesheet_files); 373 373 374 374 $template_dir = dirname($template_files[0]); 375 375 $stylesheet_dir = dirname($stylesheet_files[0]); … … 1314 1314 /** 1315 1315 * Allows a theme to register its support of a certain feature 1316 * 1316 * 1317 1317 * Must be called in the themes functions.php file to work. 1318 1318 *
Note: See TracChangeset
for help on using the changeset viewer.